This commit is contained in:
parent
7855e6d880
commit
194af8128e
13 changed files with 290 additions and 69 deletions
|
@ -5,22 +5,30 @@
|
|||
#ifndef __LEVEL_LEVEL_H__
|
||||
#define __LEVEL_LEVEL_H__
|
||||
|
||||
#include "level/layer.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
class CLayer;
|
||||
class CLevel
|
||||
{
|
||||
public:
|
||||
CLevel(){}
|
||||
virtual ~CLevel(){}
|
||||
CLevel();
|
||||
virtual ~CLevel();
|
||||
|
||||
// Scene Handlers
|
||||
void init();
|
||||
void shutdown();
|
||||
void render();
|
||||
void think(int _frames);
|
||||
|
||||
int GetLayerCount() {return(LevelHdr->LayerCount);}
|
||||
|
||||
void init();
|
||||
void shutdown();
|
||||
void render();
|
||||
void think(int _frames);
|
||||
|
||||
private:
|
||||
sLvlHdr *LvlData;
|
||||
void LoadLayers();
|
||||
|
||||
sLvlHdr *LevelHdr;
|
||||
CLayer *LayerList[CLayer::LAYER_TYPE_MAX];
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue