AnimatedSprite

Constructors

this
this(SpriteSheet sheet)

Members

Functions

getCurrentAnimation
string getCurrentAnimation()

Returns the name of the current animation

getCurrentFrame
int getCurrentFrame()

Returns the index of the current frame within the current animation

getCurrentTime
float getCurrentTime()
isAnimationFinished
bool isAnimationFinished()
isLooping
bool isLooping()
playAnimation
void playAnimation(string name, bool loop = false)
update
void update()

Usually unnecessary to call directly

Meta