A class in Root.Township, Alta.Intelligence.
A scoring rule for schmeechee actions that returns one value when the critter is grounded (or upside down) and another when not.
Constructors
Fields
3 private and internal fields
| Member | What it is |
|---|
private float falseValue | Score when the state doesn't hold. Default 0. |
private Schmeechee.OperationType operation | Which state to check: grounded or upside down. |
private float trueValue | Score when the state holds. Default 1. |
Methods
| Member | What it is |
|---|
override float Evaluate(Agent agent, ITarget target) | Returns trueValue if the agent is a schmeechee in the chosen state, otherwise falseValue. |