FailTargetOperation
A class in Root.Township, Alta.Intelligence.
Scoring rule that always returns 0, so a required rule built from it switches its action off. Returned by CreateTargetOperation.Fail after logging an error.
- Listed in Creatures and AI
- Inherits or implements
TargetOperation
Constructors
1 private and internal constructor
| Member | What it is |
|---|---|
private FailTargetOperation() | Creates a FailTargetOperation with default values. |
Properties
| Member | What it is |
|---|---|
static FailTargetOperation Instance { get; } | The single shared instance. |
Methods
| Member | What it is |
|---|---|
override float Evaluate(Agent agent, ITarget target) | Always returns 0. |