public static Condition IsAnimationPlaying(this AnimationSet animation, AnimationKey key)
 {
     return(new PlayingAnimationCondition(animation, key));
 }
Ejemplo n.º 2
0
 public AnimationControlledHitbox(IWorldObject owner, AnimationSet animations, AnimationKey key, int frameMin, int frameMax)
     : base(new PlayingAnimationCondition(animations, key, frameMin, frameMax), owner)
 {
 }
 public PlayingAnimationCondition(AnimationSet animations, AnimationKey key) : this(animations, key, 0, 9999)
 {
 }