|
Re: Multiple Autons
That works,and you'd put it inside the brackets enclosing the class, except you have to change the method declarations from private boolean Name to private static boolean Name.
There's a much simpler way to do this. In autonomousInit(), do:
if (driveStick.getRawButton(1)) {
run whatever;
}
if (driveStick.getRawButton(2)) {
run whatever;
}
and so on
|