Namespace MLEM.Animations
Classes
- AnimationFrame
Represents a single frame of a SpriteAnimation
- SpriteAnimation
A sprite animation that allows for any number of frames that each last any number of seconds
- SpriteAnimationGroup
Represents a list of SpriteAnimation objects with a condition and priority attached to them. Sprite animation groups can be used if any single entity should have multiple animations (like up, down, left, right standing and running animations) that should be automatically managed.
- StepAnimator<TObject>
A step animator is a simple class to facilitate multi-step, timed, and optionally looping "animations" in the form of event callbacks. A step animator supports multiple Steps which are executed in order in Update(TObject, TimeSpan).
- StepAnimator<TObject>.Step
A step in a StepAnimator<TObject>.
Delegates
- SpriteAnimation.Completed
A callback for when a sprite animation is completed.
- SpriteAnimationGroup.AnimationChanged
A callback delegate for when a SpriteAnimationGroup's current animation changed.
- StepAnimator<TObject>.AnimationFunction
An animation function used by StepAnimator<TObject>.Step. The animation function that is called every Update(TObject, TimeSpan) while a StepAnimator<TObject>.Step is active.