|
ProtoZed
awesome branch
A simple but powerful game framework
|
Public Types | |
| enum | State { NOT_STARTED, STARTED, RUNNING, PAUSED, STOPPED, FINISHED } |
Public Member Functions | |
| AnimationBase (AnimationManager &animationManager) | |
| AnimationBase (AnimationProperties *properties, AnimationManager &animationManager) | |
| virtual | ~AnimationBase () |
| void | Start (Animable &animable) |
| void | Stop () |
| void | Pause (bool pause=true) |
| void | Resume () |
| bool | IsPaused () const |
| virtual AnimationBase * | GetCopy ()=0 |
| void | SetStartCallback (AnimationCallback &callback) |
| void | SetFinishedCallback (AnimationCallback &callback) |
| Animable & | GetAnimable () |
| State | GetState () const |
| virtual void | AddTime (float deltaTime)=0 |
Protected Member Functions | |
| virtual bool | StartImpl ()=0 |
| AnimationManager & | GetAnimationManager () const |
Protected Attributes | |
| Animable * | object |
| State | state |
| AnimationCallback | onStart |
| AnimationCallback | onFinished |
Friends | |
| class | Animable |
| class | AnimationGroup |
| PZ::AnimationBase::AnimationBase | ( | AnimationManager & | animationManager | ) |
| PZ::AnimationBase::AnimationBase | ( | AnimationProperties * | properties, |
| AnimationManager & | animationManager | ||
| ) |
|
virtual |
|
pure virtual |
Implemented in PZ::Tween, and PZ::AnimationGroup.
|
inline |
|
inlineprotected |
|
pure virtual |
Implemented in PZ::Tween, and PZ::AnimationGroup.
|
inline |
|
inline |
| void PZ::AnimationBase::Pause | ( | bool | pause = true | ) |
| void PZ::AnimationBase::Resume | ( | ) |
|
inline |
|
inline |
| void PZ::AnimationBase::Start | ( | Animable & | animable | ) |
|
protectedpure virtual |
Implemented in PZ::Tween, and PZ::AnimationGroup.
| void PZ::AnimationBase::Stop | ( | ) |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.2