public Match(PlayerDataHolder player, MatchType type) { matchType = type; if (matchType != MatchType.Tutorial) { return; } _mapOrder.Add(Dictionaries.dictionaries.Maps[1]); //Maps.ParseIntToMap(mapOrder); _matchID = Random.Range(1, 10000000); currentPlayer = player; player.SetMatchId(_matchID); myGamePLay = new GamePLay(_currentBindMapId, this); Dictionaries.dictionaries.Matches.Add(_matchID, this); _currentBindMapId = 1; }