CalculateThreat_Vehicle Class Reference

Inheritance diagram for CalculateThreat_Vehicle:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void calc_threat_vehicle (Vehicle *_eht)
 CalculateThreat_Vehicle (AI *_ai)

Protected Member Functions

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

Protected Attributes

Vehicleeht

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

int CalculateThreat_Vehicle::getdamage ( void   )  [protected, virtual]

Reimplemented from CalculateThreat_VehicleType.

Definition at line 138 of file valuation.cpp.

References ContainerBase::damage, and eht.

int CalculateThreat_Vehicle::getexpirience ( void   )  [protected, virtual]

Reimplemented from CalculateThreat_VehicleType.

Definition at line 143 of file valuation.cpp.

References eht, and Vehicle::experience.

int CalculateThreat_Vehicle::getammunition ( int  i  )  [protected, virtual]

Reimplemented from CalculateThreat_VehicleType.

Definition at line 128 of file valuation.cpp.

References Vehicle::ammo, and eht.

int CalculateThreat_Vehicle::getheight ( void   )  [protected, virtual]

Reimplemented from CalculateThreat_VehicleType.

Definition at line 133 of file valuation.cpp.

References eht, and Vehicle::height.

void CalculateThreat_Vehicle::calc_threat_vehicle ( Vehicle _eht  ) 

Definition at line 149 of file valuation.cpp.

References CalculateThreat_VehicleType::ai, VehicleType::aiparam, Vehicle::aiparam, CalculateThreat_VehicleType::calc_threat_vehicletype(), Vehicle::canMove(), eht, ContainerBase::getCargo(), AiParameter::getJob(), AI::getPlayerNum(), AiValue::getValue(), ContainerBaseType::id, AiParameter::job_undefined, AiParameter::setJob(), AiValue::setValue(), AiThreat::threat, AiValue::threat, Vehicle::typ, CalculateThreat_VehicleType::value, and vehicleTypeRepository.


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:
Generated on Mon May 21 01:46:26 2012 for Advanced Strategic Command by  doxygen 1.5.1