示例#1
0
文件: Teams.cs 项目: BjkGkh/Boon
 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;
 }
示例#2
0
文件: Room.cs 项目: BjkGkh/Boon
 public TeamManager GetTeamManagerForFreeze()
 {
     if (teamfreeze == null)
         teamfreeze = TeamManager.createTeamforGame("freeze");
     return teamfreeze;
 }
示例#3
0
文件: Room.cs 项目: BjkGkh/Boon
 public TeamManager GetTeamManagerForBanzai()
 {
     if (teambanzai == null)
         teambanzai = TeamManager.createTeamforGame("banzai");
     return teambanzai;
 }