12#ifndef TT_INCLUDE__WARFACTORYGAMEOBJ_H
13#define TT_INCLUDE__WARFACTORYGAMEOBJ_H
15#include "VehicleFactoryGameObj.h"
17class WarFactoryGameObjDef;
18class WarFactoryGameObj :
public VehicleFactoryGameObj
21 WarFactoryGameObj (
void);
22 ~WarFactoryGameObj (
void);
23 virtual void Init(
void );
24 void Init (
const WarFactoryGameObjDef & definition);
25 SCRIPTS_API
const WarFactoryGameObjDef & Get_Definition (
void)
const;
26 WarFactoryGameObj * As_WarFactoryGameObj (
void) {
return this; }
27 bool Save (ChunkSaveClass &csave);
28 bool Load (ChunkLoadClass &cload);
29 const PersistFactoryClass & Get_Factory (
void)
const;
30 void CnC_Initialize (BaseControllerClass *base);
33 void Load_Variables (ChunkLoadClass &cload);
34 void Play_Creation_Animation (
bool onoff);
35 void Begin_Generation (
void);
36 int CreationAnimationID;
37 float CreationFinishedTimer;