动画管理器 更多...
#include <Animation.hpp>
Public 成员函数 | |
| void | registerAnimation (AnimationAbstract *animation) |
| 注册动画对象 | |
| void | unregisterAnimation (AnimationAbstract *animation) |
| 注销动画对象 | |
| void | updateAll (const TimePoint &now) |
| 更新所有动画对象 | |
静态 Public 成员函数 | |
| static AnimationManager & | getInstance () |
| 获取动画管理器实例 | |
动画管理器
此类是线程安全的
|
static |
获取动画管理器实例
| void GFt::AnimationManager::registerAnimation | ( | AnimationAbstract * | animation | ) |
注册动画对象
| animation | 动画对象 |
| void GFt::AnimationManager::unregisterAnimation | ( | AnimationAbstract * | animation | ) |
注销动画对象
| animation | 动画对象 |
| void GFt::AnimationManager::updateAll | ( | const TimePoint & | now | ) |
更新所有动画对象
| now | 当前时间 |