public Bomb(Player player) { this.isWalkable = false; this.SetBombToPlayer(player); this.SetCoordinates(player.Coordinates); Timer(); map = new MapManagerStub(); }
public Explosion(Coordinates coords, Wall wall) : base(coords) { map = new MapManagerStub(); title = "explosion"; Timer(wall); }
/// <summary> /// Stops the game, disconnects all players /// </summary> private void stopGame() { mapManager = null; DisconnectPlayers(); gameState = 0; }
/// <summary> /// Starts game, creates MapManager /// </summary> public sealed override void StartGame() { gameState = 2; mapManager = new MapManagerStub(); mapManager.BuildMap(); }