a3ee9d4f02bb9c4b59485815ba1c5f2367672234
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / scaler / ToggleScaling.java
1 package org.usfirst.frc.team3501.robot.commands.scaler;
2
3 import org.usfirst.frc.team3501.robot.Constants;
4
5 import edu.wpi.first.wpilibj.command.Command;
6
7 public class ToggleScaling extends Command {
8 public ToggleScaling() {
9
10 }
11
12 @Override
13 protected void initialize() {
14 Constants.Scaler.SCALING = !Constants.Scaler.SCALING;
15 }
16
17 @Override
18 protected void execute() {
19
20 }
21
22 @Override
23 protected boolean isFinished() {
24 return true;
25 }
26
27 @Override
28 protected void end() {
29 }
30
31 @Override
32 protected void interrupted() {
33 end();
34 }
35 }