Classes.CThreshold Class Reference

List of all members.

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 ()

Constructor & Destructor Documentation

Classes.CThreshold.CThreshold  )  [package]
 


Member Function Documentation

final int Classes.CThreshold.GetHealth  )  [protected]
 

Get the stablished limit of health.

Agent can perform some actions if its health is lower than this value.

Parameters:
- 
Returns:
m_iHealth: current threshold for health

final int Classes.CThreshold.GetAmmo  )  [protected]
 

Get the stablished limit of ammunition.

Agent can perform some actions if its ammo is lower than this value.

Parameters:
- 
Returns:
m_iAmmo: current threshold for ammo

final int Classes.CThreshold.GetAim  )  [protected]
 

Get the stablished number of times that the agent must aim the enemy before to shoot.

Parameters:
- 
Returns:
m_iAim: current threshold for aim

final int Classes.CThreshold.GetShot  )  [protected]
 

Get the stablished number of times that the agent must shoot consecutively before doing other action.

Parameters:
- 
Returns:
m_iShot: current threshold for shot

final int Classes.CThreshold.GetLook  )  [protected]
 

Get the stablished number of times (cycles) that the agent must wait (moving blindly) before looking again.

Parameters:
- 
Returns:
m_iLook: current threshold for look

final void Classes.CThreshold.SetHealth int  _iHealth  )  [protected]
 

Stablish the limit of health.

Agent can perform some actions if its health is lower than this value. Rank is [0..100].

Parameters:
_iHealth,: desired threshold for health
Returns:
-

final void Classes.CThreshold.SetAmmo int  _iAmmo  )  [protected]
 

Stablish the limit of ammunition.

Agent can perform some actions if its ammo is lower than this value. Rank is [0..100].

Parameters:
_iAmmo,: desired threshold for ammo
Returns:
-

final void Classes.CThreshold.SetAim int  _iAim  )  [protected]
 

Stablish the number of times that the agent must aim the enemy before to shoot.

Rank is [1..20].

Parameters:
_iAim,: desired threshold for aim
Returns:
-

final void Classes.CThreshold.SetShot int  _iShot  )  [protected]
 

Stablish the number of times that the agent must shoot consecutively before doing other action.

Rank is [1..20].

Parameters:
_iShot,: desired threshold for shot
Returns:
-

final void Classes.CThreshold.SetLook int  _iLook  )  [protected]
 

Stablish the number of times (cycles) that the agent must wait (moving blindly) before looking again.

Rank is [0..100].

Parameters:
_iLook,: desired threshold for look
Returns:
-


The documentation for this class was generated from the following file:
Generated on Fri Dec 16 20:13:55 2005 for JGomas by  doxygen 1.4.5