Class AndBoolean

java.lang.Object
me.nabdev.pathfinding.autos.booleans.AndBoolean
All Implemented Interfaces:
AutoBoolean

public class AndBoolean extends Object implements AutoBoolean
An auto boolean that returns true if all of its children are true
  • Constructor Details

    • AndBoolean

      public AndBoolean()
  • Method Details

    • getSupplier

      public BooleanSupplier getSupplier(BooleanSupplier... children)
      Description copied from interface: AutoBoolean
      Get the boolean supplier for this AutoBoolean
      Specified by:
      getSupplier in interface AutoBoolean
      Parameters:
      children - The boolean suppliers to use in the group
      Returns:
      The boolean supplier for this AutoBoolean