Class ButtonBoxClient
java.lang.Object
io.github.roboblazers7617.buttonbox.ButtonBoxClient
Class for client-side ButtonBox logic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddControl(Control control) Adds a control to the ButtonBoxClient.voidperiodic()Updates the states of the controls.
-
Constructor Details
-
ButtonBoxClient
Creates a new ButtonBoxClient.- Parameters:
inst-NetworkTableInstanceto use.
-
-
Method Details
-
periodic
public void periodic()Updates the states of the controls. Should be called regularly by the client program. -
addControl
Adds a control to the ButtonBoxClient.- Parameters:
control- TheControlto add to the client.
-