Public Member Functions | |
iEntity2D (tString asName) | |
virtual const cRect2f & | GetBoundingBox ()=0 |
virtual bool | UpdateBoundingBox ()=0 |
cVector3f & | GetLocalPosition () |
cVector3f & | GetLocalRotation () |
cVector3f & | GetLocalScale () |
cVector3f | GetWorldPosition () |
cVector3f | GetWorldRotation () |
cVector3f | GetWorldScale () |
void | SetPosition (const cVector3f &avPos) |
void | SetRotation (const cVector3f &avRot) |
void | SetScale (const cVector3f &avScale) |
cGrid2DObject * | GetGrid2DObject () |
void | SetGrid2DObject (cGrid2DObject *apGrid) |
bool | HasGrid2DObject () |
Public Member Functions inherited from hpl::iEntity | |
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 | |
cGrid2DObject * | mpGridObject |
cVector3f | mvPosition |
cVector3f | mvRotation |
cVector3f | mvScale |
cVector3f | mvLastPosition |
cVector3f | mvLastRotation |
cVector3f | mvLastScale |
cRect2f | mBoundingBox |
Protected Attributes inherited from hpl::iEntity | |
iNode * | mpParentNode |
tString | msName |
bool | mbIsVisible |
bool | mbIsActive |
Protected Attributes inherited from hpl::iSaveObject | |
iSaveData * | mpSaveData |