Пример #1
0
 public virtual void Increase(int count)
 {
     this.count += count;
     if (count > 0)
     {
         this.OnIncrease();
     }
     if (this.count == 0)
     {
         owner.ClearAbnormalStatus(this);
     }
 }