package org.usfirst.frc.team2503.r2016.component;

import org.usfirst.frc.team2503.r2016.input.Data;

import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.SpeedController;

public class Hooker extends SpeedControllerComponent {

	public DigitalInput limitSwitch;
	public Encoder encoder;

	public void tick(Data data) {
	}

	public Hooker(SpeedController controller, Encoder encoder, DigitalInput limitSwitch) {
		super(controller);

		this.encoder = encoder;
		this.limitSwitch = limitSwitch;
	}

}

@@ -279,16 +279,87 @@
 nent %7B%0A%0A
+%09public enum HookerMode %7B%0A%09%09RESET,%0A%09%09HORIZONTAL,%0A%09%09READY,%0A%09%09ATTACH%0A%09%7D%0A%0A
 %09public 
@@ -441,16 +441,130 @@
 data) %7B%0A
+%09%09// If the limit switch is pressed, reset the encoder to 0%0A%09%09if(this.limitSwitch.get())%0A%09%09%09this.encoder.reset();%0A
 %09%7D%0A%0A%09pub

Add a little bit of functionality code