Class Edge
java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.stateMachineController.Edge
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEdge
(Class to, Edge.EdgeCallback condition) Edges are the way we transition between States, decided by a certain condition(s). -
Method Summary
-
Field Details
-
to
-
condition
Edge.EdgeCallback condition
-
-
Constructor Details
-
Edge
Edges are the way we transition between States, decided by a certain condition(s). A State's Edges are stored within the State.- Parameters:
to
- State that a ceratin state is going *to*.condition
- instance of an implementation of EdgeCallback.
-
-
Method Details
-
getCallback
public boolean getCallback()
-