35 lines
599 B
C++
35 lines
599 B
C++
/*******************/
|
|
/*** Level Class ***/
|
|
/*******************/
|
|
|
|
#ifndef __LEVEL_LEVEL_H__
|
|
#define __LEVEL_LEVEL_H__
|
|
|
|
#include "level/layer.h"
|
|
|
|
/*****************************************************************************/
|
|
class CLayer;
|
|
class CLevel
|
|
{
|
|
public:
|
|
CLevel();
|
|
virtual ~CLevel();
|
|
|
|
// Scene Handlers
|
|
void init();
|
|
void shutdown();
|
|
void render();
|
|
void think(int _frames);
|
|
|
|
private:
|
|
void initLayers();
|
|
|
|
sLvlHdr *LevelHdr;
|
|
|
|
// Tile Layers
|
|
CLayer *TileLayers[CLayer::LAYER_TYPE_MAX];
|
|
};
|
|
|
|
/*****************************************************************************/
|
|
|
|
#endif |