コード例 #1
0
        private void AddShip()
        {
            ship = universeFactory.GetShip();
            ship.Init(
                new Vector2(1.0f, 1.0f),
                avatar.parent,
                FollowParentParameters.None,
                avatar.parent.GetPositionFromTileCoordinate(0, avatar.parent.Height + 5),
                Mathf.PI * 0.5f
                );

            AddUniverseObject(ship);
        }