This commit is contained in:
Antoine PerreaultE 2022-11-21 18:10:37 -05:00
parent 7c3eb49b8b
commit 2455414992

View File

@ -20,12 +20,16 @@ public class Activer_poussoir extends CommandBase {
// Called when the command is initially scheduled. // Called when the command is initially scheduled.
@Override @Override
public void initialize() { public void initialize() {
poussoir.pousser(); poussoir.pousser();
} }
// Called once the command ends or is interrupted. // Called once the command ends or is interrupted.
@Override @Override
public void end(boolean interrupted) {} public void end(boolean interrupted) {
poussoir.tirer();
}
// Returns true when the command should end. // Returns true when the command should end.
@Override @Override