Пример #1
0
        public Player(int bombNumber, int power, int heart, int speed, Coordinates coords) : base(coords)
        {
            NumberOfBombs   = bombNumber;
            BombPower       = power;
            Health          = heart;
            MovementSpeed   = speed;
            PlacedBombCount = 0;

            MoveStrategy      = new SimpleMove();
            PlantBombStrategy = new SimplePlant();

            PlayerIsDead = false;

            SetCoordinates(coords);
            Imune = false;
        }
Пример #2
0
 public void SetCanPlantBomb()
 {
     PlantBombStrategy = new SimplePlant();
 }