|
| cBody2D (const tString &asName, cMesh2D *apMesh, cVector2f avSize, cCollider2D *apCollider, int alID) |
|
const cRect2f & | GetBoundingBox () |
|
bool | UpdateBoundingBox () |
|
void | Move (float afValue) |
|
void | UpdateLogic (float afTimeStep) |
|
tString | GetEntityType () |
|
cVector3f & | GetPosition () |
|
cVector3f & | GetLastPosition () |
|
void | ResetLastPosition () |
|
float | GetVelocity () |
|
float | GetMaxVelocity () |
|
float | GetAcceleration () |
|
float | GetGravity () |
|
float | GetMaxGravityVel () |
|
bool | GetCollidable () |
|
bool | GetCollides () |
|
float | GetAirFriction () |
|
float | GetGroundFriction () |
|
const cVector2f & | GetSize () |
|
const cVector3f & | GetMovement () |
|
void | SetMaxVelocity (float afMaxVel) |
|
void | SetAcceleration (float afAcc) |
|
void | SetGravity (float afGravity) |
|
void | SetMaxGravityVel (float afMaxGravityVel) |
|
void | SetCollidable (bool abCollidable) |
|
void | SetCollides (bool abCollides) |
|
void | SetAirFriction (float afAirFriction) |
|
void | SetGroundFriction (float afGroundFriction) |
|
void | AddForce (float afAngle, float afStrength) |
|
void | AddForce (const cVector2f &avForce) |
|
void | SetForce (float afAngle, float afStrength) |
|
void | SetForce (const cVector2f &avForce) |
|
const cVector2f & | GetForce () const |
|
void | SetCollideFlag (tFlag alFlag) |
|
tFlag | GetCollideFlag () |
|
void | SetAttachToGround (bool abX) |
|
bool | GetAttachToGround () |
|
void | SetAttachBodies (bool abX) |
|
bool | GetAttachBodies () |
|
void | AttachBody (cBody2D *apBody) |
|
void | DetachBody (cBody2D *apBody) |
|
void | SetParentBody (cBody2D *apBody) |
|
void | SetCollideType (tFlag alFlag) |
|
tFlag | GetCollideType () |
|
void | AttachNode (cNode2D *apNode) |
|
void | DetachNode () |
|
int | GetID () |
|
bool | OnGround () |
|
void | UpdateCollisionMesh () |
|
cCollisionMesh2D * | GetCollisionMesh () |
|
| 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 () |
|