ScummVM API documentation
hpl::iNode Class Referenceabstract
Inheritance diagram for hpl::iNode:
hpl::iSaveObject hpl::cNode2D hpl::cNode3D hpl::cBoneState

Public Member Functions

int SetVisible (bool abX, bool abCascade)
 
bool AddEntity (iEntity *apEntity)
 
bool RemoveEntity (iEntity *apEntity)
 
void ClearEntities ()
 
void SetActive (bool abX)
 
bool IsActive ()
 
virtual iNodeCreateChild ()=0
 
cNodeIterator GetChildIterator ()
 
cEntityIterator GetEntityIterator ()
 
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 ()
 

Protected Attributes

tEntityList mlstEntity
 
tNodeList mlstNode
 
bool mbActive
 
- Protected Attributes inherited from hpl::iSaveObject
iSaveDatampSaveData
 

Member Function Documentation

◆ CreateSaveData()

virtual iSaveData* hpl::iNode::CreateSaveData ( )
inlinevirtual

Creates the SaveData that this class uses.

Implements hpl::iSaveObject.

Reimplemented in hpl::cNode3D.

◆ SaveToSaveData()

virtual void hpl::iNode::SaveToSaveData ( iSaveData apSaveData)
virtual

Save it's data to a SaveData

Reimplemented from hpl::iSaveObject.

Reimplemented in hpl::cNode3D.

◆ LoadFromSaveData()

virtual void hpl::iNode::LoadFromSaveData ( iSaveData apSaveData)
virtual

Load it's data from a SaveData

Reimplemented from hpl::iSaveObject.

Reimplemented in hpl::cNode3D.

◆ SaveDataSetup()

virtual void hpl::iNode::SaveDataSetup ( cSaveObjectHandler apSaveObjectHandler,
cGame apGame 
)
virtual

After all objects have been created, this function is called to enable setup.

Reimplemented from hpl::iSaveObject.

Reimplemented in hpl::cNode3D.


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