public static Condition IsAnimationPlaying(this AnimationSet animation, AnimationKey key) { return(new PlayingAnimationCondition(animation, key)); }
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) { }