Ejemplo n.º 1
0
 public RestartData(RestartData other)
 {
     WastedRestartPoints         = ArrayHelper.DeepClone(other.WastedRestartPoints);
     BustedRestartPoints         = ArrayHelper.DeepClone(other.BustedRestartPoints);
     NumberOfWastedRestartPoints = other.NumberOfWastedRestartPoints;
     NumberOfBustedRestartPoints = other.NumberOfBustedRestartPoints;
     OverrideNextRestart         = other.OverrideNextRestart;
     OverrideRestartPoint        = new RestartPoint(other.OverrideRestartPoint);
     FadeInAfteNextDeath         = other.FadeInAfteNextDeath;
     FadeInAfteNextArrest        = other.FadeInAfteNextArrest;
     OverrideHospitalLevel       = other.OverrideHospitalLevel;
     OverridePoliceStationLevel  = other.OverridePoliceStationLevel;
 }
Ejemplo n.º 2
0
 public RestartData()
 {
     WastedRestartPoints  = ArrayHelper.CreateArray <RestartPoint>(MaxNumWastedRestarts);
     BustedRestartPoints  = ArrayHelper.CreateArray <RestartPoint>(MaxNumBustedRestarts);
     OverrideRestartPoint = new RestartPoint();
 }