|
| cImageEntity (tString asName, cResources *apResources, cGraphics *apGraphics, bool abAutoDeleteData=true) |
|
const cRect2f & | GetBoundingBox () |
|
bool | UpdateBoundingBox () |
|
tString | GetEntityType () |
|
void | Render () |
|
void | UpdateLogic (float afTimeStep) |
|
bool | LoadData (TiXmlElement *apRootElem) |
|
bool | LoadEntityData (tString asDataName, int alAnimNum=0) |
|
bool | LoadEntityData (cImageEntityData *apData, int alAnimNum=0) |
|
cImageEntityData * | GetEntityData () |
|
bool | SetAnimation (const tString &asName, bool abLoop=true) |
|
const tString & | GetCurrentAnimation () const |
|
bool | AnimationIsLooped () |
|
bool | AnimationIsPlaying () |
|
void | StopAnimation () |
|
void | SetAnimationSpeed (float afSpeed) |
|
float | GetAnimationSpeed () |
|
void | SetFrameNum (float afFrame) |
|
float | GetFrameNum () |
|
int | GetMaxFrameNum () |
|
void | SetAnimationPaused (bool abX) |
|
bool | GetAnimationPaused () |
|
void | SetFlipH (bool abX) |
|
bool | GetFlipH () |
|
void | SetFlipV (bool abX) |
|
bool | GetFlipV () |
|
cVector2f | GetSize () |
|
void | SetSize (const cVector2f &avSize) |
|
void | SetAlpha (float afX) |
|
float | GetAlpha () |
|
void | Flash (float afAdd) |
|
bool | IsCollidable () |
|
| iEntity2D (tString asName) |
|
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 () |
|
| iEntity (tString asName) |
|
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) |
|
int | GetSaveObjectId () |
|
void | SetIsSaved (bool abX) |
|
bool | IsSaved () |
|
The documentation for this class was generated from the following file: