12#ifndef TT_INCLUDE_DAMAGEABLEGAMEOBJDEF_H
13#define TT_INCLUDE_DAMAGEABLEGAMEOBJDEF_H
14#include "ScriptableGameObjDef.h"
15#include "DefenseObjectDefClass.h"
17 PLAYERTYPE_MUTANT = -3,
23class DamageableGameObjDef :
public ScriptableGameObjDef
26 DamageableGameObjDef(
void );
27 virtual bool Save( ChunkSaveClass &csave );
28 virtual bool Load( ChunkLoadClass &cload );
30 virtual void Dump (FileClass &file);
32 DECLARE_EDITABLE( DamageableGameObjDef, ScriptableGameObjDef );
33 int Get_Name_ID (
void)
const {
return TranslatedNameID; }
34 int Get_Encyclopedia_Type (
void)
const {
return EncyclopediaType; }
35 int Get_Encyclopedia_ID (
void)
const {
return EncyclopediaID; }
36 const StringClass & Get_Icon_Filename (
void)
const {
return InfoIconTextureFilename; }
37 int Get_Translated_Name_ID (
void)
const {
return TranslatedNameID; }
38 void Set_Translated_Name_ID (
int TransID) {TranslatedNameID = TransID; }
39 const DefenseObjectDefClass & Get_DefenseObjectDef(
void )
const {
return DefenseObjectDef; }
40 int Get_Default_Player_Type(
void)
const {
return DefaultPlayerType; }
41 void Set_Name_ID(
int id) {TranslatedNameID = id;}
43 DefenseObjectDefClass DefenseObjectDef;
44 StringClass InfoIconTextureFilename;
49 int DefaultPlayerType;
50 friend class DamageableGameObj;
51 friend class PresetDump;