touche, amperage, distance

This commit is contained in:
Antoine PerreaultE
2025-03-03 09:22:48 -05:00
parent 37452f0b05
commit 264bbd003f
17 changed files with 227 additions and 102 deletions

View File

@ -29,7 +29,14 @@ public class exspire extends Command {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
requin.balaye(0.5);
if(requin.amp()> 15)
{
requin.balaye(0.5);
}
else{
bougie.Rouge();
requin.balaye(0.5);
}
}
// Called once the command ends or is interrupted.