Class AIBrain.HealthAtMost

java.lang.Object
com.codename1.gaming.platformer.AIBrain.HealthAtMost
All Implemented Interfaces:
AIBrain.Decision
Enclosing class:
AIBrain

public static final class AIBrain.HealthAtMost extends Object implements AIBrain.Decision
Holds while the actor's health is at or below a value.
  • Constructor Details

    • HealthAtMost

      public HealthAtMost(int hp)

      A health check, for a boss changing phase.

      Parameters
      • hp: the threshold
  • Method Details