Wasabi
|
#include <WAnimation.hpp>
Public Member Functions | |
WAnimationManager (class Wasabi *const app) | |
void | Update (float fDeltaTime) |
![]() | |
WManager (class Wasabi *const a) | |
bool | RegisterChangeCallback (std::string name, std::function< void(WAnimation *, bool)> callback) |
void | RemoveChangeCallback (std::string name) |
void | AddEntity (WAnimation *entity) |
bool | RemoveEntity (WAnimation *entity) |
void | OnEntityNameChanged (WAnimation *entity, std::string oldName) |
virtual void | Init () |
WAnimation * | GetEntity (uint32_t ID) const |
WAnimation * | GetEntity (std::string name) const |
WAnimation * | GetEntityByIndex (uint32_t index) const |
uint32_t | GetEntitiesCount (void) const |
Friends | |
class | WAnimation |
Additional Inherited Members | |
![]() | |
class Wasabi *const | m_app |
![]() | |
std::vector< WAnimation * > | m_entities [W_HASHTABLESIZE] |
std::unordered_map< std::string, WAnimation * > | m_entitiesByName |
Manager class for WAnimation.
void WAnimationManager::Update | ( | float | fDeltaTime | ) |
Update (step) all registered animations.
fDeltaTime | Time to step each animation |