Class ReadTrooperAmmoAction
Read a trooper's ammo.
Namespace: KaijuSolutions.Agents.Behavior.Exercises.CTF
Syntax
[Serializable]
public class ReadTrooperAmmoAction : ReadTrooperAction
Fields
ammo
The ammo of the trooper.
Declaration
public BlackboardVariable<int> ammo
Field Value
| Type | Description |
|---|---|
| BlackboardVariable<System.Int32> |
Methods
Assigned()
If this has been validly assigned.
Declaration
protected override bool Assigned()
Returns
| Type | Description |
|---|---|
| System.Boolean | If this has been validly assigned. |
Overrides
ReadValue()
Read the needed value.
Declaration
protected override void ReadValue()