diff options
Diffstat (limited to 'Plugins/MonoGame.Extended/source/MonoGame.Extended/Sprites/SpriteSheetAnimationCycle.cs')
-rw-r--r-- | Plugins/MonoGame.Extended/source/MonoGame.Extended/Sprites/SpriteSheetAnimationCycle.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Plugins/MonoGame.Extended/source/MonoGame.Extended/Sprites/SpriteSheetAnimationCycle.cs b/Plugins/MonoGame.Extended/source/MonoGame.Extended/Sprites/SpriteSheetAnimationCycle.cs new file mode 100644 index 0000000..d9e8674 --- /dev/null +++ b/Plugins/MonoGame.Extended/source/MonoGame.Extended/Sprites/SpriteSheetAnimationCycle.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; + +namespace MonoGame.Extended.Sprites +{ + public class SpriteSheetAnimationCycle + { + public SpriteSheetAnimationCycle() + { + Frames = new List<SpriteSheetAnimationFrame>(); + } + + public float FrameDuration { get; set; } = 0.2f; + public List<SpriteSheetAnimationFrame> Frames { get; set; } + public bool IsLooping { get; set; } + public bool IsReversed { get; set; } + public bool IsPingPong { get; set; } + } +}
\ No newline at end of file |