ScummVM API documentation
hpl::cArea2D Class Reference
Inheritance diagram for hpl::cArea2D:
hpl::iEntity2D hpl::iEntity hpl::iSaveObject

Public Member Functions

 cArea2D (const tString &asName, const tString &asTypeName, cCollider2D *apCollider)
 
tString GetEntityType ()
 
const tStringGetType ()
 
const cVector3fGetCustom ()
 
const cVector2fGetSize ()
 
bool LoadData (TiXmlElement *apRootElem)
 
bool CheckWorldCollision (tFlag alFlags)
 
bool CheckBodyCollision (cBody2D *apBody)
 
const cRect2fGetBoundingBox ()
 
bool UpdateBoundingBox ()
 
- Public Member Functions inherited from hpl::iEntity2D
 iEntity2D (tString asName)
 
cVector3fGetLocalPosition ()
 
cVector3fGetLocalRotation ()
 
cVector3fGetLocalScale ()
 
cVector3f GetWorldPosition ()
 
cVector3f GetWorldRotation ()
 
cVector3f GetWorldScale ()
 
void SetPosition (const cVector3f &avPos)
 
void SetRotation (const cVector3f &avRot)
 
void SetScale (const cVector3f &avScale)
 
cGrid2DObjectGetGrid2DObject ()
 
void SetGrid2DObject (cGrid2DObject *apGrid)
 
bool HasGrid2DObject ()
 
- Public Member Functions inherited from hpl::iEntity
 iEntity (tString asName)
 
virtual void UpdateLogic (float afTimeStep)
 
tStringGetName ()
 
void SetName (const tString &asName)
 
iNodeGetParent ()
 
void SetParent (iNode *apNode)
 
bool HasParent ()
 
bool IsActive ()
 
void SetActive (bool abActive)
 
virtual bool IsVisible ()
 
virtual void SetVisible (bool abVisible)
 
virtual iSaveDataCreateSaveData ()
 
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 ()
 

Additional Inherited Members

- Protected Attributes inherited from hpl::iEntity2D
cGrid2DObjectmpGridObject
 
cVector3f mvPosition
 
cVector3f mvRotation
 
cVector3f mvScale
 
cVector3f mvLastPosition
 
cVector3f mvLastRotation
 
cVector3f mvLastScale
 
cRect2f mBoundingBox
 
- Protected Attributes inherited from hpl::iEntity
iNodempParentNode
 
tString msName
 
bool mbIsVisible
 
bool mbIsActive
 
- Protected Attributes inherited from hpl::iSaveObject
iSaveDatampSaveData
 

The documentation for this class was generated from the following file: