示例#1
0
 protected virtual void UnderContructionProgress(Game sender, NewTurnArgs args)
 {
     if (Life < 100)
     {
         Life += progress;
         UnderConstructionEvent?.Invoke(this, new ConstructionArgs()
         {
             Percentage = Life
         });
     }
     else
     {
         Game.Instance.NewTurnEvent -= UnderContructionProgress;
     }
 }
示例#2
0
 private void UnderAttackProgress(Game sender, NewTurnArgs args)
 {
 }