Advanced Strategic Command
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CalculateThreat_Vehicle Class Reference
Inheritance diagram for CalculateThreat_Vehicle:
Inheritance graph
[legend]

Public Member Functions

void calc_threat_vehicle (Vehicle *_eht)
 
 CalculateThreat_Vehicle (AI *_ai)
 
- Public Member Functions inherited from CalculateThreat_VehicleType
void calc_threat_vehicletype (const VehicleType *_fzt)
 
 CalculateThreat_VehicleType (AI *_ai)
 
virtual ~CalculateThreat_VehicleType ()
 

Protected Member Functions

virtual int getdamage (void)
 
virtual int getexpirience (void)
 
virtual int getammunition (int i)
 
virtual int getheight (void)
 

Protected Attributes

Vehicleeht
 
- Protected Attributes inherited from CalculateThreat_VehicleType
AIai
 
const VehicleTypefzt
 
int weapthreat [8]
 
int value
 

Detailed Description

Definition at line 53 of file valuation.cpp.

Constructor & Destructor Documentation

CalculateThreat_Vehicle::CalculateThreat_Vehicle ( AI _ai)
inline

Definition at line 62 of file valuation.cpp.

Member Function Documentation

void CalculateThreat_Vehicle::calc_threat_vehicle ( Vehicle _eht)
int CalculateThreat_Vehicle::getammunition ( int  i)
protectedvirtual

Reimplemented from CalculateThreat_VehicleType.

Definition at line 128 of file valuation.cpp.

References Vehicle::ammo, and eht.

int CalculateThreat_Vehicle::getdamage ( void  )
protectedvirtual

Reimplemented from CalculateThreat_VehicleType.

Definition at line 138 of file valuation.cpp.

References ContainerBase::damage, and eht.

int CalculateThreat_Vehicle::getexpirience ( void  )
protectedvirtual
int CalculateThreat_Vehicle::getheight ( void  )
protectedvirtual

Reimplemented from CalculateThreat_VehicleType.

Definition at line 133 of file valuation.cpp.

References eht, and Vehicle::height.

Member Data Documentation

Vehicle* CalculateThreat_Vehicle::eht
protected

Definition at line 55 of file valuation.cpp.

Referenced by calc_threat_vehicle(), getammunition(), getdamage(), getexpirience(), and getheight().


The documentation for this class was generated from the following file: