Example #1
0
 public Animation(AnimationFrame[] frames, string texture_path)
 {
     this.frames = frames;
     this.texture_path = texture_path;
     Prepare();
 }
Example #2
0
 public PhysicalAnimation(AnimationFrame[] frames, string texture_path, Vector2 hitbox)
     : base(frames, texture_path)
 {
     this.hitbox = hitbox;
 }