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; }
public void SetCanPlantBomb() { PlantBombStrategy = new SimplePlant(); }