Skip to content
reduz edited this page Feb 23, 2014 · 9 revisions

SpriteFrames

Inherits: Resource\n\n

Brief Description

Sprite frame library for AnimatedSprite.

Member Functions

Description

Sprite frame library for animatedsprite.

Member Function Description

  • void add_frame ( Object frame, int atpos=-1 )

Add a frame (texture).

  • int get_frame_count ( ) const

Return the amount of frames.

Return a texture (frame).

  • void remove_frame ( int idx )

Remove a frame

  • void clear ( )

Clear the frames.

Clone this wiki locally