Skip to content

Commit

Permalink
Add a getId method to the Control class
Browse files Browse the repository at this point in the history
  • Loading branch information
CoffeeCoder1 committed Oct 11, 2024
1 parent fae7d64 commit 819f970
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ public void setupNetworkTables(NetworkTable table) {}
*/
public void setupSimulation() {}

/**
* Gets the ID of this control.
*
* @return
* The ID of this control.
*/
public String getId() {
return id;
}

/** Gets the NetworkTable used by this Control. */
public NetworkTable getTable() {
return table;
Expand Down

0 comments on commit 819f970

Please sign in to comment.