Public Member Functions | |
iEntity (tString asName) | |
virtual tString | GetEntityType ()=0 |
virtual void | UpdateLogic (float afTimeStep) |
tString & | GetName () |
void | SetName (const tString &asName) |
iNode * | GetParent () |
void | SetParent (iNode *apNode) |
bool | HasParent () |
bool | IsActive () |
void | SetActive (bool abActive) |
virtual bool | IsVisible () |
virtual void | SetVisible (bool abVisible) |
virtual iSaveData * | CreateSaveData () |
virtual void | SaveToSaveData (iSaveData *apSaveData) |
virtual void | LoadFromSaveData (iSaveData *apSaveData) |
virtual void | SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame) |
Public Member Functions inherited from hpl::iSaveObject | |
int | GetSaveObjectId () |
void | SetIsSaved (bool abX) |
bool | IsSaved () |
Protected Attributes | |
iNode * | mpParentNode |
tString | msName |
bool | mbIsVisible |
bool | mbIsActive |
Protected Attributes inherited from hpl::iSaveObject | |
iSaveData * | mpSaveData |
|
virtual |
Creates the SaveData that this class uses.
Implements hpl::iSaveObject.
Reimplemented in hpl::iPhysicsBody, hpl::cMeshEntity, hpl::iLight3D, hpl::cSubMeshEntity, hpl::cBillboard, hpl::iEntity3D, hpl::iParticleEmitter3D, hpl::cSoundEntity, hpl::cParticleSystem3D, hpl::iRenderable, hpl::cLight3DSpot, and hpl::cLight3DPoint.
|
virtual |
Save it's data to a SaveData
Reimplemented from hpl::iSaveObject.
Reimplemented in hpl::iPhysicsBody, hpl::cMeshEntity, hpl::iLight3D, hpl::cSubMeshEntity, hpl::cBillboard, hpl::iEntity3D, hpl::iParticleEmitter3D, hpl::cSoundEntity, hpl::cParticleSystem3D, hpl::iRenderable, hpl::cLight3DSpot, and hpl::cLight3DPoint.
|
virtual |
Load it's data from a SaveData
Reimplemented from hpl::iSaveObject.
Reimplemented in hpl::iPhysicsBody, hpl::cMeshEntity, hpl::iLight3D, hpl::cSubMeshEntity, hpl::cBillboard, hpl::iEntity3D, hpl::iParticleEmitter3D, hpl::cSoundEntity, hpl::cParticleSystem3D, hpl::iRenderable, hpl::cLight3DSpot, and hpl::cLight3DPoint.
|
virtual |
After all objects have been created, this function is called to enable setup.
Reimplemented from hpl::iSaveObject.
Reimplemented in hpl::iPhysicsBody, hpl::cMeshEntity, hpl::iLight3D, hpl::cSubMeshEntity, hpl::cBillboard, hpl::iEntity3D, hpl::iParticleEmitter3D, hpl::cSoundEntity, hpl::cParticleSystem3D, hpl::iRenderable, hpl::cLight3DSpot, and hpl::cLight3DPoint.