Moderately streamline imports of constants
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / Shoot.java
index f0416b4eb11a64f34258dabc3ff5f9dd389c861e..498309c0d7e5a67f6a32ee342d8f27adb4169d61 100755 (executable)
@@ -1,14 +1,12 @@
 package org.usfirst.frc.team3501.robot.commands.shooter;
 
-import org.usfirst.frc.team3501.robot.Constants;
+import org.usfirst.frc.team3501.robot.Constants.Shooter;
 
 import edu.wpi.first.wpilibj.command.CommandGroup;
 import edu.wpi.first.wpilibj.command.WaitCommand;
 
 public class Shoot extends CommandGroup {
 
-  public boolean usePhotogate;
-
   /**
    * Fires catapult, then resets after a pause. If robot is set to use photogate
    * and no ball is detected, nothing happens.
@@ -18,7 +16,7 @@ public class Shoot extends CommandGroup {
    */
   public Shoot() {
     addSequential(new FireCatapult());
-    addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
+    addSequential(new WaitCommand(Shooter.WAIT_TIME));
     addSequential(new ResetCatapult());
   }
 }