| | 55 | * Sensors |
| | 56 | * currentHealth - returns Quagent's current health |
| | 57 | * maxHealth - returns Quagent's maximum health. |
| | 58 | * currentArmour - returns Quagent's current armour. |
| | 59 | * maxArmour - returns Quagent's maximum armour. |
| | 60 | * currentLocation - returns Quagent's current location (GPS) |
| | 61 | * currentItem - returns description of currently held items. |
| | 62 | * The following are booleans constructed from other protocol functions. They are implemented in the API for convenience. |
| | 63 | * isDead? - returns true if agent is dead |
| | 64 | * hasAmmo? - true if agent has > 0 ammo. |
| | 65 | * hasArmour? - true if agent has > 0 armour. |
| | 66 | * hasItem? - true if agent is carrying an item. |