ScummVM API documentation
hpl::cGridMap2D Class Reference

Public Member Functions

 cGridMap2D (cVector2l avSize, cVector2l avGridSize, cVector2l avMaxGridSpan)
 
iGridMap2DIt * GetRectIterator (const cRect2f &aRect)
 
cGrid2D * GetAt (int alX, int alY)
 
bool AddEntity (iEntity2D *apEntity)
 
bool RemoveEntity (iEntity2D *apEntity)
 
int GetMaxArraySize ()
 
const cVector2l & GetMaxGridSpan ()
 
const cVector2l & GetGridSize ()
 
const cVector2l & GetGridNum ()
 
tGrid2DObjectMap * GetAllMap ()
 
void DrawGrid (iLowLevelGraphics *apLowLevel, float afZ=100, cColor aCol=cColor(1))
 
void DrawEntityGrids (iLowLevelGraphics *apLowLevel, cVector2f avWorldPos, float afZ=101, cColor aCol=cColor(1, 0, 1, 1))
 

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