Beispiel #1
0
        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();
            }
        }
Beispiel #2
0
 public static void SetMap(Map map)
 {
     _map = map;
     EnvelopeWindowManager.SwitchToGameView();
 }