public static TeamManager createTeamforGame(string Game) { var t = new TeamManager(); t.Game = Game; t.BlueTeam = new List<RoomUser>(); t.RedTeam = new List<RoomUser>(); t.GreenTeam = new List<RoomUser>(); t.YellowTeam = new List<RoomUser>(); return t; }
public TeamManager GetTeamManagerForFreeze() { if (teamfreeze == null) teamfreeze = TeamManager.createTeamforGame("freeze"); return teamfreeze; }
public TeamManager GetTeamManagerForBanzai() { if (teambanzai == null) teambanzai = TeamManager.createTeamforGame("banzai"); return teambanzai; }