28#ifndef HPL_TILELAYER_H
29#define HPL_TILELAYER_H
31#include "common/array.h"
32#include "hpl1/engine/math/MathTypes.h"
33#include "hpl1/engine/scene/Tile.h"
34#include "hpl1/engine/system/SystemTypes.h"
39 eTileLayerType_Normal,
40 eTileLayerType_LastEnum
51 cTileLayer(
unsigned int alW,
unsigned int alH,
bool abCollision,
bool abLit, eTileLayerType aType,
float afZ = 0);
54 bool SetTile(
unsigned int alX,
unsigned int alY,
cTile *aVal);
55 cTile *GetAt(
int alX,
int alY);
56 cTile *GetAt(
int alNum);
58 void SetZ(
float afZ) { mfZ = afZ; }
59 float GetZ() {
return mfZ; }
61 bool HasCollision() {
return mbCollision; }
cTile * * iterator
Definition: array.h:54
Definition: TileLayer.h:46
Definition: TileMapLineIt.h:37
Definition: TileMapRectIt.h:37