limit avec grimpeur manuel
This commit is contained in:
		@@ -28,7 +28,13 @@ public class GrimpeurManuel extends Command {
 | 
			
		||||
  // Called every time the scheduler runs while the command is scheduled.
 | 
			
		||||
  @Override
 | 
			
		||||
  public void execute() {
 | 
			
		||||
    grimpeur.grimpe(x.getAsDouble());
 | 
			
		||||
    if(grimpeur.stop()){
 | 
			
		||||
      grimpeur.grimpe(0);
 | 
			
		||||
    }
 | 
			
		||||
    else{
 | 
			
		||||
    grimpeur.grimpe(x.getAsDouble());  
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Called once the command ends or is interrupted.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user