コード例 #1
0
 public GameResults(StatsSaveStruct statsSave)
 {
     this.SurvivalTime = statsSave.SurvivalTime;
     this.NumberOfZombieKills = statsSave.NumberOfZombieKills;
     this.NumberOfZombieWaves = statsSave.NumberOfZombieWaves;
     this.CollectablesResults = new GameCollectableResults(statsSave.CollectablesStats);
     this.KillResults = new GameKillResults(statsSave.KillsStats);
     this.FistWeaponResults = new GameWeaponResults(statsSave.FistWeaponsStats);
     this.CrowbarWeaponResults = new GameWeaponResults(statsSave.CrowbarWeaponsStats);
     this.ChainsawWeaponResults = new GameWeaponResults(statsSave.ChainsawWeaponsStats);
     this.PistolWeaponResults = new GameWeaponResults(statsSave.PistolWeaponsStats);
     this.ShotgunWeaponResults = new GameWeaponResults(statsSave.ShotgunWeaponsStats);
 }
コード例 #2
0
 public GameResults(StatsSaveStruct statsSave)
 {
     this.SurvivalTime          = statsSave.SurvivalTime;
     this.NumberOfZombieKills   = statsSave.NumberOfZombieKills;
     this.NumberOfZombieWaves   = statsSave.NumberOfZombieWaves;
     this.CollectablesResults   = new GameCollectableResults(statsSave.CollectablesStats);
     this.KillResults           = new GameKillResults(statsSave.KillsStats);
     this.FistWeaponResults     = new GameWeaponResults(statsSave.FistWeaponsStats);
     this.CrowbarWeaponResults  = new GameWeaponResults(statsSave.CrowbarWeaponsStats);
     this.ChainsawWeaponResults = new GameWeaponResults(statsSave.ChainsawWeaponsStats);
     this.PistolWeaponResults   = new GameWeaponResults(statsSave.PistolWeaponsStats);
     this.ShotgunWeaponResults  = new GameWeaponResults(statsSave.ShotgunWeaponsStats);
 }