예제 #1
0
        public Creature(StrategyManager strategyManager)
        {
            ResoursesStorage = new ResoursesStorage(50, 0);

            CreatureState = CreatureState.Idle;
            _aStar = new AStar(strategyManager, this);

            _strategyManager = strategyManager;

            AnimationState = CreatureAnimationState.MoveRight;
        }
예제 #2
0
 public Castle(Point cell)
     : base(cell)
 {
     Sprite = SpriteType.Castle;
     ResoursesStorage = new ResoursesStorage(5000, 0);
 }