balaye
This commit is contained in:
		| @@ -30,12 +30,19 @@ public class BalayeuseBas extends Command { | ||||
|     else{ | ||||
|       requin.rotationer(-0.5); | ||||
|     } | ||||
|     if(requin.stop()){ | ||||
|       requin.balaye(0); | ||||
|     } | ||||
|     else{ | ||||
|       requin.balaye(0.5); | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   // Called once the command ends or is interrupted. | ||||
|   @Override | ||||
|   public void end(boolean interrupted) { | ||||
|     requin.rotationer(0); | ||||
|     requin.balaye(0); | ||||
|   } | ||||
|  | ||||
|   // Returns true when the command should end. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user