Package choreo.auto
Class AutoFactory.AutoBindings
java.lang.Object
choreo.auto.AutoFactory.AutoBindings
- Enclosing class:
- AutoFactory
A class used to bind commands to events in all trajectories created by this factory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBinds a command to an event in all trajectories created by the factory using this bindings.
-
Constructor Details
-
AutoBindings
public AutoBindings()Default constructor.
-
-
Method Details
-
bind
Binds a command to an event in all trajectories created by the factory using this bindings.- Parameters:
name
- The name of the event to bind the command to.cmd
- The command to bind to the event.- Returns:
- The bindings object for chaining.
-