Exemplo n.º 1
0
 public SpriteAnimation Add(int id, float delay, bool loop, params int[] frames )
 {
     SpriteAnimation animation = new SpriteAnimation(delay, loop, frames);
     return Add(id, animation);
 }
Exemplo n.º 2
0
 public SpriteAnimation Add(int id, SpriteAnimation animation)
 {
     this[id] = animation;
     return animation;
 }