예제 #1
0
 public bool Consume(float amount)
 {
     if (mag == null)
     {
         return(false);
     }
     if (mag.Consume(amount))
     {
         if (OnRoundConsumed != null)
         {
             OnRoundConsumed(this, amount);
         }
         return(true);
     }
     ;
     return(false);
 }