ScummVM API documentation
hpl::cTileMapLineIt Class Reference
Inheritance diagram for hpl::cTileMapLineIt:
hpl::iTileMapIt

Public Member Functions

 cTileMapLineIt (cVector2f avStartPos, cVector2f avEndPos, cTileMap *apTileMap, int alLayer)
 
bool HasNext ()
 
cTile * Next ()
 
cTile * PeekNext ()
 
int GetNum ()
 
int GetCurrentLayer ()
 
virtual bool HasNext ()=0
 
virtual cTile * Next ()=0
 
virtual cTile * PeekNext ()=0
 
virtual int GetNum ()=0
 
virtual int GetCurrentLayer ()=0
 

Constructor & Destructor Documentation

◆ cTileMapLineIt()

hpl::cTileMapLineIt::cTileMapLineIt ( cVector2f  avStartPos,
cVector2f  avEndPos,
cTileMap *  apTileMap,
int  alLayer 
)
Parameters
avPos
avSize
apTileMap
alLayerThe layer that is to be iterated. -1 = All layers (hiding tiles behind solid ones)
Returns

Member Function Documentation

◆ HasNext()

bool hpl::cTileMapLineIt::HasNext ( )
virtual

Implements hpl::iTileMapIt.

◆ Next()

cTile * hpl::cTileMapLineIt::Next ( )
virtual

Implements hpl::iTileMapIt.

◆ PeekNext()

cTile * hpl::cTileMapLineIt::PeekNext ( )
virtual

Implements hpl::iTileMapIt.

◆ GetNum()

int hpl::cTileMapLineIt::GetNum ( )
virtual

Implements hpl::iTileMapIt.

◆ GetCurrentLayer()

int hpl::cTileMapLineIt::GetCurrentLayer ( )
virtual

Implements hpl::iTileMapIt.


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