
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 | |
| Vehicle * | eht |
Definition at line 53 of file valuation.cpp.
| CalculateThreat_Vehicle::CalculateThreat_Vehicle | ( | AI * | _ai | ) | [inline] |
Definition at line 62 of file valuation.cpp.
| 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.
Vehicle* CalculateThreat_Vehicle::eht [protected] |
Definition at line 55 of file valuation.cpp.
Referenced by calc_threat_vehicle(), getammunition(), getdamage(), getexpirience(), and getheight().
1.5.1