Exemplo n.º 1
0
 public override void ExcuteCommend(EBattleAction id, object action)
 {
     if (id != EBattleAction.EBattle_Action_Add_Buff)
     {
         if (id == EBattleAction.EBattle_Action_Remove_Buff)
         {
             this.RemoveBuff((BattleStruct.BuffStruct)action);
         }
     }
     else
     {
         this.AddBuff((BattleStruct.BuffStruct)action);
     }
 }
Exemplo n.º 2
0
 public override void ExcuteCommend(EBattleAction id, object action)
 {
     if (id != EBattleAction.EBattle_Action_Hitted_Once)
     {
         if (id == EBattleAction.EBattle_Action_Dead_Before)
         {
             this.OnEntityDeadBefore((BattleStruct.DeadStruct)action);
         }
         else if (id == EBattleAction.EBattle_Action_Dead)
         {
             this.OnEntityDead((BattleStruct.DeadStruct)action);
         }
     }
     else
     {
         this.OnEntityHittedOnce((HitStruct)action);
     }
 }
Exemplo n.º 3
0
 public abstract void ExcuteCommend(EBattleAction id, object action);