Exemple #1
0
 public static bool IsEmpty(this BucketInt mine)
 {
     return(mine.current == 0);
 }
Exemple #2
0
 public static void Refill(this BucketInt mine)
 {
     mine.current = mine.max;
 }
Exemple #3
0
 public static bool IsFull(this BucketInt mine)
 {
     return(mine.current == mine.max);
 }