Class ReadTrooperHasAmmoAction
Read if a trooper has ammo.
Namespace: KaijuSolutions.Agents.Behavior.Exercises.CTF
Syntax
[Serializable]
public class ReadTrooperHasAmmoAction : ReadTrooperAction
Fields
hasAmmo
If the trooper has ammo.
Declaration
public BlackboardVariable<bool> hasAmmo
Field Value
| Type | Description |
|---|---|
| BlackboardVariable<System.Boolean> |
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()