CalculateThreat_VehicleType Class Reference

Inheritance diagram for CalculateThreat_VehicleType:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

AIai
const VehicleTypefzt
int weapthreat [8]
int value

Detailed Description

Definition at line 35 of file valuation.cpp.


Constructor & Destructor Documentation

CalculateThreat_VehicleType::CalculateThreat_VehicleType ( AI _ai  )  [inline]

Definition at line 49 of file valuation.cpp.

References ai.

virtual CalculateThreat_VehicleType::~CalculateThreat_VehicleType (  )  [inline, virtual]

Definition at line 50 of file valuation.cpp.


Member Function Documentation

virtual int CalculateThreat_VehicleType::getdamage ( void   )  [inline, protected, virtual]

Reimplemented in CalculateThreat_Vehicle.

Definition at line 43 of file valuation.cpp.

Referenced by calc_threat_vehicletype().

virtual int CalculateThreat_VehicleType::getexpirience ( void   )  [inline, protected, virtual]

Reimplemented in CalculateThreat_Vehicle.

Definition at line 44 of file valuation.cpp.

Referenced by calc_threat_vehicletype().

virtual int CalculateThreat_VehicleType::getammunition ( int  i  )  [inline, protected, virtual]

Reimplemented in CalculateThreat_Vehicle.

Definition at line 45 of file valuation.cpp.

Referenced by calc_threat_vehicletype().

virtual int CalculateThreat_VehicleType::getheight ( void   )  [inline, protected, virtual]

Reimplemented in CalculateThreat_Vehicle.

Definition at line 46 of file valuation.cpp.

Referenced by calc_threat_vehicletype().

void CalculateThreat_VehicleType::calc_threat_vehicletype ( const VehicleType _fzt  ) 

Definition at line 66 of file valuation.cpp.

References ai, UnitWeapon::count, fzt, getammunition(), getdamage(), getexpirience(), getheight(), AI::getMap(), WeapDist::getWeaponStrength(), maxmalq, SingleWeapon::maxstrength, SingleWeapon::mindistance, SingleWeapon::offensive(), SingleWeapon::shootable(), SingleWeapon::sourceheight, SingleWeapon::targ, UnitWeapon::weapon, VehicleType::weapons, and weapthreat.

Referenced by CalculateThreat_Vehicle::calc_threat_vehicle().


Member Data Documentation

AI* CalculateThreat_VehicleType::ai [protected]

Definition at line 37 of file valuation.cpp.

Referenced by CalculateThreat_Vehicle::calc_threat_vehicle(), calc_threat_vehicletype(), and CalculateThreat_VehicleType().

const VehicleType* CalculateThreat_VehicleType::fzt [protected]

Definition at line 39 of file valuation.cpp.

Referenced by calc_threat_vehicletype().

int CalculateThreat_VehicleType::weapthreat[8] [protected]

Definition at line 40 of file valuation.cpp.

Referenced by calc_threat_vehicletype().

int CalculateThreat_VehicleType::value [protected]

Definition at line 41 of file valuation.cpp.

Referenced by CalculateThreat_Vehicle::calc_threat_vehicle().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:27 2012 for Advanced Strategic Command by  doxygen 1.5.1