public void Cancel(Player player, Action action, Game game) { if (game.IsOverlord(player)) { gameLog.Info("Cancelling " + game); RemoveGame(game); Gmail.MessagePlayer(player, game, game.Title + " has been cancelled."); } }
public void Start(Player player, Action action, Game game) { if (game.IsOverlord(player)) { gameLog.Info("Attempting to start " + game); if (!game.Start()) { HandleBadAction(game, player, action, "You need at least 3 players to start a game." + FlavorText.Divider + game.Status()); } } }