예제 #1
0
 public void Upgrade()
 {
     Level += 1;
     if (CurrentPart != null && Level != 3)
     {
         CurrentPart.Upgrade();
     }
 }
예제 #2
0
 public void Upgrade()
 {
     if (Level <= 3)
     {
         Level++;
         baseMaxSpeed = ((0.5F * Level));
         CurrentPart.Upgrade();
     }
 }