示例#1
0
 public ApplicationModel()
 {
     PlayersToCreate = new List <PlayerCreationEntity>
     {
         new PlayerCreationEntity(Color.red, PlayerType.LocalPlayer, 3, 1, "player 1"),
         new PlayerCreationEntity(Color.green, PlayerType.LocalPlayer, 3, 2, "player 2")
     };
     MatchModel         = new MatchModel();
     CurrentWeaponModel = new CurrentWeaponModel();
 }
示例#2
0
 public void ResetMatch()
 {
     MatchModel         = new MatchModel();
     CurrentWeaponModel = new CurrentWeaponModel();
 }
 public CurrentWeaponController(CurrentWeaponModel model)
 {
     _model = model;
 }