This commit is contained in:
@ -31,11 +31,17 @@ public class LancerNote extends Command {
|
||||
if(lancer.vitesse(vitesse)>vitesse){
|
||||
accumulateur.Accumuler(0.6);
|
||||
}
|
||||
else{
|
||||
accumulateur.Accumuler(0);
|
||||
}
|
||||
}
|
||||
|
||||
// Called once the command ends or is interrupted.
|
||||
@Override
|
||||
public void end(boolean interrupted) {}
|
||||
public void end(boolean interrupted) {
|
||||
lancer.vitesse(0);
|
||||
accumulateur.Accumuler(0);
|
||||
}
|
||||
|
||||
// Returns true when the command should end.
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user