Example #1
0
 public override void SendStatistics()
 {
     ratio = InitialAffectedArea / AffectedArea;
     //Debug.Log("hi");
     //Debug.Log(InitialAffectedArea);
     //Debug.Log(AffectedArea);
     MyArea.Ratio(AffectedArea / InitialAffectedArea);
     MyArea.AddEmergencyStatistics(this, ratio);
 }
Example #2
0
 public override void SendStatistics()
 {
     ratio = InitialAffectedArea / AffectedArea;
     //Debug.Log("hi");
     //Debug.Log(InitialAffectedArea);
     //Debug.Log(AffectedArea);
     MyArea.Ratio(AffectedArea / InitialAffectedArea);
     if (successRate > ratio)
     {
         successRate = ratio;
     }
     //notify area +central
     MyArea.AddEmergencyStatistics(this, successRate);
 }