12#ifndef TT_INCLUDE__SUPERWEAPONGAMEOBJ_H
13#define TT_INCLUDE__SUPERWEAPONGAMEOBJ_H
14#include "BuildingGameObj.h"
15class SuperweaponGameObjDef;
16class SuperweaponGameObj :
public BuildingGameObj
19 SuperweaponGameObj (
void);
20 ~SuperweaponGameObj (
void);
21 virtual void Init(
void );
22 void Init (
const SuperweaponGameObjDef & definition);
23 SCRIPTS_API
const SuperweaponGameObjDef & Get_Definition (
void)
const;
24 SuperweaponGameObj * As_SuperweaponGameObj (
void) {
return this; }
25 bool Save (ChunkSaveClass &csave);
26 bool Load (ChunkLoadClass &cload);
27 const PersistFactoryClass & Get_Factory (
void)
const;
28 void CnC_Initialize (BaseControllerClass *base);
29 void On_Destroyed (
void);
31 SCRIPTS_API
void Launch();
32 bool Is_Launching() {
return Launching;}
34 void Import_Occasional( BitStreamClass &packet );
35 void Export_Occasional( BitStreamClass &packet );
38 void Load_Variables (ChunkLoadClass &cload);
40 void Play_Launch_Animation(
bool onoff);