Class AIBrain.Idle

java.lang.Object
com.codename1.gaming.platformer.AIBrain.Idle
All Implemented Interfaces:
AIBrain.Action
Enclosing class:
AIBrain

public static final class AIBrain.Idle extends Object implements AIBrain.Action
Does nothing.
  • Constructor Details

    • Idle

      public Idle()
  • Method Details

    • act

      public int act(AIBrain brain, Actor self, PlatformWorld world)
      Description copied from interface: AIBrain.Action

      Computes this tick's buttons.

      Parameters
      • brain: the brain, for its timers and target
      • self: the actor
      • world: the world
      Returns

      Input bits

      Specified by:
      act in interface AIBrain.Action