Condition

constructor(@NonNull edge: Condition.Edge, @NonNull condition: BooleanSupplier)

Creates a new Condition with the given BooleanSupplier.

Parameters

edge

The edge detection to use.

condition

The BooleanSupplier to use.


constructor(@NonNull condition: BooleanSupplier)

Creates a new Condition with the given BooleanSupplier and no edge detection.

Parameters

condition

The BooleanSupplier to use.