Пример #1
0
        public Slime(
            Vector2 position,
            string name) :
            base(position, name)
        {
            spriteController =
                AddComponent(new SlimeSpriteController(
                                 AddComponent(new SpriteAnimator())));

            controller = AddComponent(new SlimeController(this));
        }