SBSPSS/source/level/level.h

36 lines
641 B
C
Raw Normal View History

2000-12-06 23:52:00 +01:00
/*******************/
/*** Level Class ***/
/*******************/
#ifndef __LEVEL_LEVEL_H__
#define __LEVEL_LEVEL_H__
2000-12-07 16:56:20 +01:00
#include "level/layer.h"
2000-12-06 23:52:00 +01:00
/*****************************************************************************/
2000-12-07 16:56:20 +01:00
class CLayer;
2000-12-06 23:52:00 +01:00
class CLevel
{
public:
2000-12-07 16:56:20 +01:00
CLevel();
virtual ~CLevel();
2000-12-06 23:52:00 +01:00
2000-12-07 16:56:20 +01:00
// Scene Handlers
void init();
void shutdown();
void render();
void think(int _frames);
int GetLayerCount() {return(LevelHdr->LayerCount);}
2000-12-06 23:52:00 +01:00
private:
2000-12-07 16:56:20 +01:00
void LoadLayers();
sLvlHdr *LevelHdr;
CLayer *LayerList[CLayer::LAYER_TYPE_MAX];
2000-12-06 23:52:00 +01:00
};
/*****************************************************************************/
#endif