Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
adding @OverRide annotations for RobotConfigurator impls
Browse files Browse the repository at this point in the history
  • Loading branch information
dejabot committed Jan 16, 2024
1 parent 2d2f0fc commit 0872f4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/team766/robot/example/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ public static void robotInit() {
// Initialize mechanisms here
}

@Override
public void initializeMechanisms() {
robotInit();
}

@Override
public Procedure createOI() {
return new OI();
}

@Override
public AutonomousMode[] getAutonomousModes() {
return AutonomousModes.AUTONOMOUS_MODES;
}
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/team766/robot/gatorade/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ public static void robotInit() {
lights = new Lights();
}

@Override
public void initializeMechanisms() {
robotInit();
}

@Override
public Procedure createOI() {
return new OI();
}

@Override
public AutonomousMode[] getAutonomousModes() {
return AutonomousModes.AUTONOMOUS_MODES;
}
Expand Down

0 comments on commit 0872f4a

Please sign in to comment.