public static void AddPlayer(Player player) { if (_playerOne == null) { _playerOne = player; } else if (_playerTwo == null) { _playerTwo = player; } if (_gameType == GameType.SingleGame || _playerTwo != null) { EnvelopeWindowManager.SwitchToMapPickerMenu(); } }
public static void SetMap(Map map) { _map = map; EnvelopeWindowManager.SwitchToGameView(); }