This commit is contained in:
Antoine PerreaultE
2023-03-07 20:03:12 -05:00
parent cd7604e30f
commit 64556db1cd
4 changed files with 51 additions and 30 deletions

View File

@ -18,7 +18,9 @@ public class GratteBaisser extends CommandBase {
// Called when the command is initially scheduled.
@Override
public void initialize() {}
public void initialize() {
gratte.setenHaut(false);
}
// Called every time the scheduler runs while the command is scheduled.
@Override
@ -41,9 +43,7 @@ public class GratteBaisser extends CommandBase {
// Called once the command ends or is interrupted.
@Override
public void end(boolean interrupted) {
}
public void end(boolean interrupted) {}
// Returns true when the command should end.
@Override

View File

@ -19,7 +19,9 @@ public class GratteMonte extends CommandBase {
// Called when the command is initially scheduled.
@Override
public void initialize() {}
public void initialize() {
gratte.setenHaut(true);
}
// Called every time the scheduler runs while the command is scheduled.
@Override