예제 #1
0
 /*
  * Set the fighter to bandaging state and start bandaging.
  */
 void TryBandage()
 {
     if (RBInput.GetButtonForPlayer(InputStrings.BANDAGE, PlayerIndex, playerDevice))
     {
         fighter.Bandage();
     }
     else
     {
         fighter.InterruptBandage();
     }
 }