SpriteAnimation - HermesPasser/Ramu GitHub Wiki

class SpriteAnimation : Drawable

Description

Displays an animation of sprites.

Constructor Parameters

  • int x: Position in x.
  • int y: Position in y.
  • int width: Width.
  • int height: Height.
let img = Ramu.Utils.getImage("image.png");
let sa = new SpriteAnimation(10,10,10,10);
sa.addFrame(img);

Properties

Public Methods

Inherited Members