12#ifndef TT_INCLUDE_POWERPLANTGAMEOBJ_H
13#define TT_INCLUDE_POWERPLANTGAMEOBJ_H
14#include "BuildingGameObj.h"
15class PowerPlantGameObjDef;
16class PowerPlantGameObj :
public BuildingGameObj
19 PowerPlantGameObj (
void);
20 ~PowerPlantGameObj (
void);
21 virtual void Init(
void );
22 void Init (
const PowerPlantGameObjDef & definition);
23 SCRIPTS_API
const PowerPlantGameObjDef & Get_Definition (
void)
const;
24 PowerPlantGameObj * As_PowerPlantGameObj (
void) {
return this; }
25 bool Save (ChunkSaveClass &csave);
26 bool Load (ChunkLoadClass &cload);
27 const PersistFactoryClass & Get_Factory (
void)
const;
28 void On_Destroyed (
void);
29 void On_Revived (
void);
31 void Load_Variables (ChunkLoadClass &cload);