SBSPSS/Utils/MapEdit/LayerHazard.h
2001-04-28 15:26:59 +00:00

41 lines
941 B
C++

/*******************/
/*** Layer Actor ***/
/*******************/
#ifndef __LAYER_ACTOR_HEADER__
#define __LAYER_ACTOR_HEADER__
#include "LayerThing.h"
#include "Layer.h"
#include "MapEdit.h"
#include "GUILayerActor.h"
#include "Elem.h"
/*****************************************************************************/
class CLayerActor : public CLayerThing
{
public:
CLayerActor(sLayerDef &Def);
CLayerActor(CFile *File,int Version) {Load(File,Version);}
void InitLayer(sLayerDef &Def);
void InitSubView(CCore *Core);
void GUIInit(CCore *Core);
void GUIKill(CCore *Core);
void GUIUpdate(CCore *Core);
void GUIChanged(CCore *Core);
bool GUIReady();
void GUIThingDefClear();
void GUIThingUpdate(bool OnlySel=false);
void GUIThingPointUpdate(bool OnlySel=false);
protected:
CGUILayerActor GUIActor;
};
/*****************************************************************************/
#endif