MultiImage

Interface for common multi-image (eg. animation) functions.

Members

Functions

frameTime
uint frameTime()

Returns the frame duration in hmsec if animation for the given frame. Returns 0 if not an animation.

getCurrentImage
uint getCurrentImage()

Returns which image is being set to be worked on.

isAnimation
bool isAnimation()

Returns true if the multi-image is animated

nOfImages
uint nOfImages()

Number of images in a given multi-image.

setCurrentImage
uint setCurrentImage(uint frame)

Sets which image is being set to be worked on.

setStaticImage
void setStaticImage()

Sets the current image to the static if available

Meta