Class OrBoolean
java.lang.Object
me.nabdev.pathfinding.autos.booleans.OrBoolean
- All Implemented Interfaces:
AutoBoolean
An auto boolean that returns true if any of its children are true
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSupplier
(BooleanSupplier... children) Get the boolean supplier for this AutoBoolean
-
Constructor Details
-
OrBoolean
public OrBoolean()
-
-
Method Details
-
getSupplier
Description copied from interface:AutoBoolean
Get the boolean supplier for this AutoBoolean- Specified by:
getSupplier
in interfaceAutoBoolean
- Parameters:
children
- The boolean suppliers to use in the group- Returns:
- The boolean supplier for this AutoBoolean
-