Interface AIBrain.Action
- All Known Implementing Classes:
AIBrain.Both, AIBrain.Chase, AIBrain.Hop, AIBrain.Idle, AIBrain.Patrol, AIBrain.Shoot
- Enclosing class:
AIBrain
public static interface AIBrain.Action
Produces input for one tick.
-
Method Summary
Modifier and TypeMethodDescriptionintact(AIBrain brain, Actor self, PlatformWorld world) Computes this tick's buttons.
-
Method Details
-
act
Computes this tick's buttons.
Parameters
brain: the brain, for its timers and targetself: the actorworld: the world
Returns
Inputbits
-