12#ifndef TT_INCLUDE__SMARTGAMEOBJDEF_H
13#define TT_INCLUDE__SMARTGAMEOBJDEF_H
16#include "ArmedGameObjDef.h"
17#include "engine_common.h"
18#include "engine_threading.h"
19#include "engine_string.h"
20#include "engine_vector.h"
22class SmartGameObjDef :
public ArmedGameObjDef
25 SmartGameObjDef(
void );
26 virtual bool Save( ChunkSaveClass &csave );
27 virtual bool Load( ChunkLoadClass &cload );
28 bool Is_Stealthed()
const {
return IsStealthUnit;}
30 void Set_Sight_Range (
const float range) { SightRange = range; }
31 float Get_Sight_Range()
const {
return SightRange;}
33 void Set_Sight_Arc (
const float arc) { SightArc = arc; }
34 float Get_Sight_Arc()
const {
return SightArc;}
36 virtual void Dump (FileClass &file);
38 DECLARE_EDITABLE( SmartGameObjDef, ArmedGameObjDef );
44 friend class SmartGameObj;
45 friend class PresetDump;