Class FlipbookDecorator

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class FlipbookDecorator : public RootexDecorator

UI element to show a simple image based animations using a sequence of sprites.

Public Functions

bool addFrame(const Rml::Sprite *sprite)
void setFPS(float fps)
void update(float deltaSeconds)
Rml::DecoratorDataHandle GenerateElementData(Rml::Element *element) const
void ReleaseElementData(Rml::DecoratorDataHandle elementData) const
void RenderElement(Rml::Element *element, Rml::DecoratorDataHandle elementData) const