Exemplo n.º 1
0
 public SpriteAnimation(String name, SpriteAnimationRepeat repeat)
 {
     this.name = name;
     this.repeat = repeat;
 }
Exemplo n.º 2
0
 /// <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;
 }