Grounded
A class in Root.Township, Alta.Intelligence.
Scoring rule on the creature itself, not the target: one value when its walker is grounded, another when it's in the air. Made by CreateTargetOperation.Grounded.
- Listed in Creatures and AI
- Inherits or implements
TargetOperation
Constructors
| Member | What it is |
|---|---|
Grounded(float groundedValue, float airValue) | Creates a Grounded from groundedValue and airValue. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
override float Evaluate(Agent agent, ITarget target) | Returns groundedValue if the creature's walker is grounded, else airValue. Needs a walker. |
override string ToString() | Shows the two values. |