Interface AIBrain.Decision
- All Known Implementing Classes:
AIBrain.After, AIBrain.Chance, AIBrain.HealthAtMost, AIBrain.Not, AIBrain.TargetWithin
- Enclosing class:
AIBrain
public static interface AIBrain.Decision
A condition that switches state.
-
Method Summary
Modifier and TypeMethodDescriptionbooleandecide(AIBrain brain, Actor self, PlatformWorld world) Whether the transition should fire.
-
Method Details
-
decide
Whether the transition should fire.
Parameters
brain: the brainself: the actorworld: the world
Returns
true to switch
-