public SpriteAnimation(String name, SpriteAnimationRepeat repeat) { this.name = name; this.repeat = repeat; }
/// <summary> /// Initializes a new instance of the <see cref="SpriteAnimation"/> class. /// </summary> /// <param name="name">The animation's name.</param> /// <param name="repeat">A <see cref="SpriteAnimationRepeat"/> value indicating how the animation should act /// when it reaches the end of its list of frames.</param> public SpriteAnimation(String name, SpriteAnimationRepeat repeat) { this.name = name; this.repeat = repeat; }