예제 #1
0
        private void AddAvatar()
        {
            Planet planet = GetPlanet(startingPlanet);

            avatar = universeFactory.GetAvatar();
            avatar.Init(
                new Vector2(0.75f, 1.05f),
                planet,
                FollowParentParameters.Default,
                planet.GetPositionFromTileCoordinate(0, planet.Height),
                0.0f
                );

            AddUniverseObject(avatar);
        }