Class ReadTrooperHealthAction
Read a trooper's health.
Namespace: KaijuSolutions.Agents.Behavior.Exercises.CTF
Syntax
[Serializable]
public class ReadTrooperHealthAction : ReadTrooperAction
Fields
health
The health of the trooper.
Declaration
public BlackboardVariable<int> health
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()