コード例 #1
0
 public int HealthGain(Drofsnar d)
 {
     if (d.Points > 10000)
     {
         d.Life = +1;
     }
     return(d.Life);
 }
コード例 #2
0
 public string FinalValues(Drofsnar d)
 {
     return($"Drofsnar final point value {d.Points} and his final live value is {d.Life}.");
 }