X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FIncreaseShootingSpeed.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FIncreaseShootingSpeed.java;h=158848236a71a32a36447197bb55aa0cd34e1e03;hp=dcd4aa744898821d0afd9c4bb7d5df5d1ec8fea8;hb=f625e57a09b295f7d40e4568a8e3a8cd125630aa;hpb=1782cbadb12ad13d30eab7597f656cbe17f48df2 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/IncreaseShootingSpeed.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/IncreaseShootingSpeed.java index dcd4aa7..1588482 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/IncreaseShootingSpeed.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/IncreaseShootingSpeed.java @@ -21,8 +21,7 @@ public class IncreaseShootingSpeed extends Command { @Override protected void initialize() { - shooter.setCurrentShootingSpeed( - shooter.getCurrentShootingSpeed() + shooter.SHOOTING_SPEED_INCREMENT); + shooter.incrementCurrentShootingSpeed(); } @Override