Protected Member Functions | |
final int | GetHealth () |
Get the stablished limit of health. | |
final int | GetAmmo () |
Get the stablished limit of ammunition. | |
final int | GetAim () |
Get the stablished number of times that the agent must aim the enemy before to shoot. | |
final int | GetShot () |
Get the stablished number of times that the agent must shoot consecutively before doing other action. | |
final int | GetLook () |
Get the stablished number of times (cycles) that the agent must wait (moving blindly) before looking again. | |
final void | SetHealth (int _iHealth) |
Stablish the limit of health. | |
final void | SetAmmo (int _iAmmo) |
Stablish the limit of ammunition. | |
final void | SetAim (int _iAim) |
Stablish the number of times that the agent must aim the enemy before to shoot. | |
final void | SetShot (int _iShot) |
Stablish the number of times that the agent must shoot consecutively before doing other action. | |
final void | SetLook (int _iLook) |
Stablish the number of times (cycles) that the agent must wait (moving blindly) before looking again. | |
Package Functions | |
CThreshold () |
|
|
|
Get the stablished limit of health. Agent can perform some actions if its health is lower than this value.
|
|
Get the stablished limit of ammunition. Agent can perform some actions if its ammo is lower than this value.
|
|
Get the stablished number of times that the agent must aim the enemy before to shoot.
|
|
Get the stablished number of times that the agent must shoot consecutively before doing other action.
|
|
Get the stablished number of times (cycles) that the agent must wait (moving blindly) before looking again.
|
|
Stablish the limit of health. Agent can perform some actions if its health is lower than this value. Rank is [0..100].
|
|
Stablish the limit of ammunition. Agent can perform some actions if its ammo is lower than this value. Rank is [0..100].
|
|
Stablish the number of times that the agent must aim the enemy before to shoot. Rank is [1..20].
|
|
Stablish the number of times that the agent must shoot consecutively before doing other action. Rank is [1..20].
|
|
Stablish the number of times (cycles) that the agent must wait (moving blindly) before looking again. Rank is [0..100].
|