public static BattleEventBase createBattleEvent(BattleConsts.Code code,EventVOBase vo)
 {
     BattleEventBase evt = null;
     switch ( code )
     {
         case BattleConsts.Code.TakeDamage:
             evt = new TakeDamageEvent(vo);
             break;
         case BattleConsts.Code.Translate:
             evt = new TranslateTargetEvent(vo);
             break;
         case BattleConsts.Code.FlagAttackTarget:
             evt = new FlagAttackTargetEvent(vo);
             break;
         case BattleConsts.Code.PreCounterAttack:
             evt = new PreCounterAttackEvent(vo);
             break;
         case BattleConsts.Code.SummonUnitSuccess:
             evt = new SummonUnitSuccessEvent(vo);
             break;
     }
     return evt;
 }
 public FlagAttackTargetEvent(EventVOBase vo)
     : base(vo)
 {
 }
 public TakeDamageEvent(EventVOBase vo)
     : base(vo)
 {
 }
 public TranslateTargetEvent(EventVOBase vo)
     : base(vo)
 {
 }
 public PreCounterAttackEvent(EventVOBase vo)
     : base(vo)
 {
 }
 public SummonUnitSuccessEvent(EventVOBase vo)
     : base(vo)
 {
 }
 public BattleEventBase(EventVOBase vo)
 {
     this._eventVO = vo;
 }