AstridAnimatorAnimation.cs 724 B

123456789101112131415161718192021222324
  1. using System.Collections.Generic;
  2. namespace MonoGame.Extended.Content.Pipeline.Animations
  3. {
  4. public class AstridAnimatorAnimation
  5. {
  6. public string Name { get; set; }
  7. public int FramesPerSecond { get; set; }
  8. public List<string> Frames { get; set; }
  9. public bool IsLooping { get; set; }
  10. public bool IsReversed { get; set; }
  11. public bool IsPingPong { get; set; }
  12. public AstridAnimatorAnimation(string name, int framesPerSecond)
  13. {
  14. Name = name;
  15. FramesPerSecond = framesPerSecond;
  16. Frames = new List<string>();
  17. IsLooping = true;
  18. IsReversed = false;
  19. IsPingPong = false;
  20. }
  21. }
  22. }