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(){
|
||||
this.RobotMode toNextMode;
|
||||
RobotMode toNextMode;
|
||||
switch(this.mode){
|
||||
case (this.RobotMode.ESSAIFRANCK):
|
||||
case (ESSAIFRANCK):
|
||||
toNextMode = this.RobotMode.ELINA;
|
||||
break;
|
||||
case (this.RobotMode.ELINA):
|
||||
case (ELINA):
|
||||
toNextMode = this.RobotMode.NORMAL;
|
||||
break;
|
||||
case (this.RobotMode.NORMAL):
|
||||
case (NORMAL):
|
||||
toNextMode = this.RobotMode.TANK;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue