java.lang.Object
org.firstinspires.ftc.teamcode.subsystems.stateMachineController.Edge

public class Edge extends Object
  • Field Details

  • Constructor Details

    • Edge

      public Edge(Class to, Edge.EdgeCallback condition)
      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()