Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
smlt::KeyFrameAnimated Class Reference
Inheritance diagram for smlt::KeyFrameAnimated:
smlt::Mesh smlt::Sprite


struct  Animation

Public Member Functions

void add_sequence (const std::string &name, const std::vector< AnimationSequenceStage > &stages)
void add_animation (const std::string &name, uint32_t start_frame, uint32_t end_frame, float fps)
void add_animation (const std::string &name, uint32_t start_frame, uint32_t end_frame)
bool has_animations () const
uint32_t animation_count () const
void set_default_fps (float fps)
float default_fps () const

Protected Types

typedef std::unordered_map< std::string, std::shared_ptr< Animation > > AnimationMap

Protected Member Functions

Animationanimation (const std::string &name)

Protected Attributes

AnimationMap animations_
std::string first_animation_


class KeyFrameAnimationState

The documentation for this class was generated from the following files: