public PositionWithRotation GetPOV(ObjectPositionEventArgs pos, bool global = false)
 {
     if (pos is CardPositionEventArgs)
     {
         return(GetPOV(pos as CardPositionEventArgs, global));
     }
     if (pos is SpecialCardPositionEventArgs)
     {
         return(GetPOV(pos as SpecialCardPositionEventArgs));
     }
     throw new InvalidCastException();
 }
コード例 #2
0
 public ServantAttackEventArgs(ObjectPositionEventArgs self, ObjectPositionEventArgs target)
 {
     SelfServant   = self;
     TargetServant = target;
 }