Merge branch 'master' of https://github.com/GZod01/ftc2024-robotcode
This commit is contained in:
commit
bb66abbe84
1 changed files with 5 additions and 5 deletions
|
@ -394,15 +394,15 @@ public enum RobotMode{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void nextMode(){
|
public void nextMode(){
|
||||||
this.RobotMode toNextMode;
|
RobotMode toNextMode;
|
||||||
switch(this.mode){
|
switch(this.mode){
|
||||||
case (this.RobotMode.ESSAIFRANCK):
|
case (ESSAIFRANCK):
|
||||||
toNextMode = this.RobotMode.ELINA;
|
toNextMode = this.RobotMode.ELINA;
|
||||||
break;
|
break;
|
||||||
case (this.RobotMode.ELINA):
|
case (ELINA):
|
||||||
toNextMode = this.RobotMode.NORMAL;
|
toNextMode = this.RobotMode.NORMAL;
|
||||||
break;
|
break;
|
||||||
case (this.RobotMode.NORMAL):
|
case (NORMAL):
|
||||||
toNextMode = this.RobotMode.TANK;
|
toNextMode = this.RobotMode.TANK;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue