|
RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <cplayer.h>
Public Slots | |
| void | onActionDone (CAction *action) |
Public Member Functions | |
| CPlayer (void) | |
| virtual void | start () |
| virtual void | update () |
| virtual void | postWorldUpdate () |
| void | updatePositionAndOrientation () |
| std::string | getCameraId () const |
| virtual bool | nextShotReady () |
| virtual void | fire () |
| ~CPlayer (void) | |
Public Member Functions inherited from CAliveEntity | |
| CAliveEntity (void) | |
| virtual void | damageReceived (int damage) |
| ~CAliveEntity (void) | |
Public Member Functions inherited from CLNode | |
| CLNode (void) | |
| CLNode (const CLNode &node) | |
| CLNode & | operator= (const CLNode &node) |
| void | copyNodeValuesFromNode (CLNode *node) |
| CLNode * | getCopy () |
| Transform & | transform () |
| const Transform & | constTransform () const |
| void | setTransform (const Transform &transform) |
| const std::string & | id () const |
| void | setId (const std::string &id) |
| bool | visible () const |
| void | setVisible (bool visible) |
| const btVector3 & | size () const |
| const btVector3 & | defaultSize () const |
| QList< CLInstanceGeometry > | instanceGeometries () |
| CArray< CLInstanceGeometry > * | getInstanceGeometries () const |
| void | setInstanceGeometries (QList< CLInstanceGeometry > vec) |
| void | setInstanceGeometries (CArray< CLInstanceGeometry > *_array) |
| ~CLNode (void) | |
Public Member Functions inherited from CObject | |
| CObject () | |
| CObject (const CObject &object) | |
| CObject & | operator= (const CObject &object) |
| CObject * | retain () |
| unsigned int | release () const |
| CObject * | autorelease () |
| unsigned int | retainCount () const |
| bool | isValidCObject () const |
| virtual | ~CObject () |
Static Public Attributes | |
| static const std::string | k_PlayerCameraId = "__PlayerCamera__" |
Additional Inherited Members | |
Static Public Member Functions inherited from CObject | |
| static void | safeRetain (void *pointer) |
| template<class T > | |
| static void | safeRelease (T *pointer) |
| template<class T > | |
| static void | safeReleaseArray (T *array) |
| static void | safeRelease (const char *pointer) |
Protected Member Functions inherited from CGameObject | |
| virtual void | copyValuesFromObject (const CGameObject &game_object) |
| virtual void | __init () |
Protected Member Functions inherited from CLNode | |
| virtual void | copyValuesFromObject (const CLNode &node) |
Protected Member Functions inherited from CObject | |
| virtual void | copyValuesFromObject (const CObject &object) |
Protected Attributes inherited from CAliveEntity | |
| int | m_health |
Protected Attributes inherited from CGameObject | |
| CActionManager * | m_actionManager |
| int | m_tag |
Protected Attributes inherited from CLNode | |
| Transform | m_transform |
| btVector3 | m_size |
| std::string | m_id |
| bool | m_visible |
Properties inherited from CGameObject | |
| QList< QProperty > | DynamicProperties |
| int | CObjectType |
| int | Tag |
Properties inherited from CLNode | |
| QList< CLInstanceGeometry > | InstanceGeometries |
| CPlayer::CPlayer | ( | void | ) |
Definition at line 49 of file cplayer.cpp.
| CPlayer::~CPlayer | ( | void | ) |
Definition at line 213 of file cplayer.cpp.
|
virtual |
Definition at line 153 of file cplayer.cpp.
| std::string CPlayer::getCameraId | ( | ) | const |
Definition at line 141 of file cplayer.cpp.
|
virtual |
Definition at line 147 of file cplayer.cpp.
|
slot |
Definition at line 207 of file cplayer.cpp.
|
virtual |
Reimplemented from CGameObject.
Definition at line 134 of file cplayer.cpp.
|
virtual |
Called once per game object.
Reimplemented from CGameObject.
Definition at line 58 of file cplayer.cpp.
|
virtual |
Called every frame. This is the most common method to implement any behaviour.
Reimplemented from CAliveEntity.
Definition at line 70 of file cplayer.cpp.
| void CPlayer::updatePositionAndOrientation | ( | ) |
Definition at line 76 of file cplayer.cpp.
|
static |