diff options
Diffstat (limited to 'src/game/layers.h')
| -rw-r--r-- | src/game/layers.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/game/layers.h b/src/game/layers.h new file mode 100644 index 00000000..198fe695 --- /dev/null +++ b/src/game/layers.h @@ -0,0 +1,28 @@ +#ifndef GAME_LAYERS_H +#define GAME_LAYERS_H + +#include <engine/map.h> +#include <game/mapitems.h> + +class CLayers +{ + int m_GroupsNum; + int m_GroupsStart; + int m_LayersNum; + int m_LayersStart; + CMapItemGroup *m_pGameGroup; + CMapItemLayerTilemap *m_pGameLayer; + class IMap *m_pMap; + +public: + CLayers(); + void Init(class IKernel *pKernel); + int NumGroups() const { return m_GroupsNum; }; + class IMap *Map() const { return m_pMap; }; + CMapItemGroup *GameGroup() const { return m_pGameGroup; }; + CMapItemLayerTilemap *GameLayer() const { return m_pGameLayer; }; + CMapItemGroup *GetGroup(int Index) const; + CMapItemLayer *GetLayer(int Index) const; +}; + +#endif |