#include <AvatarGravityProcess.h>
Inheritance diagram for AvatarGravityProcess:
Public Member Functions | |
AvatarGravityProcess () | |
AvatarGravityProcess (MainActor *avatar, int gravity) | |
ENABLE_RUNTIME_CLASSTYPE () | |
virtual bool | run (const uint32 framenum) |
bool | loadData (IDataSource *ids, uint32 version) |
Protected Member Functions | |
virtual void | saveData (ODataSource *ods) |
Protected Attributes | |
bool | cling |
Definition at line 26 of file AvatarGravityProcess.h.
AvatarGravityProcess::AvatarGravityProcess | ( | ) |
Definition at line 37 of file AvatarGravityProcess.cpp.
AvatarGravityProcess::AvatarGravityProcess | ( | MainActor * | avatar, | |
int | gravity | |||
) |
Definition at line 43 of file AvatarGravityProcess.cpp.
AvatarGravityProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from GravityProcess.
bool AvatarGravityProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from GravityProcess.
Definition at line 82 of file AvatarGravityProcess.cpp.
References GravityProcess::loadData().
bool AvatarGravityProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Reimplemented from GravityProcess.
Definition at line 49 of file AvatarGravityProcess.cpp.
References BUTTON_RIGHT, Animation::climb40, Actor::doAnim(), GUIApp::get_instance(), Actor::getDir(), Actor::getLastAnim(), getMainActor(), Animation::hang, GravityProcess::run(), Animation::SUCCESS, and Actor::tryAnim().
void AvatarGravityProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from GravityProcess.
Definition at line 77 of file AvatarGravityProcess.cpp.
References GravityProcess::saveData().
bool AvatarGravityProcess::cling [protected] |
Definition at line 41 of file AvatarGravityProcess.h.