|
| cWorld2D (tString asName, cGraphics *apGraphics, cResources *apResources, cSound *apSound, cCollider2D *apCollider) |
|
tString | GetName () |
|
bool | CreateFromFile (tString asFile) |
|
void | Render (cCamera2D *apCamera) |
|
void | Update (float afTimeStep) |
|
cVector2f | GetWorldSize () |
|
iScript * | GetScript () |
|
void | ResetBodyIDCount () |
|
cLight2DPoint * | CreateLightPoint (tString asName="") |
|
void | DestroyLight (iLight2D *apLight) |
|
cGridMap2D * | GetGridMapLights () |
|
iLight2D * | GetLight (const tString &asName) |
|
cBody2D * | CreateBody2D (const tString &asName, cMesh2D *apMesh, cVector2f avSize) |
|
cGridMap2D * | GetGridMapBodies () |
|
cGridMap2D * | GetGridMapAreas () |
|
cArea2D * | GetArea (const tString &asName, const tString &asType) |
|
cSoundSource * | CreateSoundSource (const tString &asName, const tString &asSoundName, bool abVolatile) |
|
void | DestroySoundSource (cSoundSource *apSound) |
|
cImageEntity * | CreateImageEntity (tString asName, tString asDataName) |
|
cGridMap2D * | GetGridMapImageEntities () |
|
void | DestroyImageEntity (cImageEntity *apEntity) |
|
cImageEntity * | GetImageEntity (const tString &asName) |
|
iParticleSystem2D * | CreateParticleSystem (const tString &asName, const cVector3f &avSize) |
|
void | DestroyParticleSystem (iParticleSystem2D *apPS) |
|
cTileMap * | GetTileMap () |
|
void | CreateTileMap () |
|
cNode2D * | GetRootNode () |
| NODE METHODS //////////////////////.
|
|
◆ GetArea()
Gets an area on the map. This does a linear search and very fast.
- Parameters
-
asName | The name, if "" then the first of the correct type is returned |
asType | The typem if "" then type doesn't matter. |
- Returns
The documentation for this class was generated from the following file: