touche, amperage, distance
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user