summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/source/MonoGame.Extended.Content.Pipeline/Animations/AstridAnimatorAnimation.cs
blob: 14638d4eee645a8c250a09c4d5d33651dd2bf7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections.Generic;

namespace MonoGame.Extended.Content.Pipeline.Animations
{
    public class AstridAnimatorAnimation
    {
        public string Name { get; set; }
        public int FramesPerSecond { get; set; }
        public List<string> Frames { get; set; }
        public bool IsLooping { get; set; }
        public bool IsReversed { get; set; }
        public bool IsPingPong { get; set; }

        public AstridAnimatorAnimation(string name, int framesPerSecond)
        {
            Name = name;
            FramesPerSecond = framesPerSecond;
            Frames = new List<string>();
            IsLooping = true;
            IsReversed = false;
            IsPingPong = false;
        }
    }
}