package org.redalert1741.cageBot;

import edu.wpi.first.wpilibj.Solenoid;

public class GearPlacer 
{
	Solenoid liftL, liftR, pushL, pushR;
	
	public GearPlacer(int liftL, int liftR, int pushL, int pushR)
	{
		this.liftL = new Solenoid(liftL);
		this.liftR = new Solenoid(liftR);
		this.pushL = new Solenoid(pushL);
		this.pushR = new Solenoid(pushR);
	}
}

@@ -66,16 +66,42 @@
 olenoid;
+%0Aimport com.ctre.CANTalon;
 %0A%0Apublic
@@ -159,16 +159,38 @@
  pushR;%0A
+%09private CANTalon in;%0A
 %09%0A%09publi
@@ -248,12 +248,58 @@
 ushR
-)%0A%09%7B
+, int intake)%0A%09%7B%0A%09%09this.in = new CANTalon(intake);
 %0A%09%09t
@@ -442,10 +442,336 @@
 hR);%0A%09%7D%0A
+%09%0A%09public void liftUp()%0A%09%7B%0A%09%09liftL.set(false);%0A%09%09liftR.set(false);%0A%09%7D%0A%09%0A%09public void liftDown()%0A%09%7B%0A%09%09liftL.set(true);%0A%09%09liftR.set(true);%0A%09%7D%0A%09%0A%09public void push()%0A%09%7B%0A%09%09pushL.set(true);%0A%09%09pushR.set(true);%0A%09%7D%0A%09%0A%09public void hold()%0A%09%7B%0A%09%09pushL.set(true);%0A%09%09pushR.set(true);%0A%09%7D%0A%09%0A%09public void setIntake(double x)%0A%09%7B%0A%09%09in.set(x);%0A%09%7D%0A
 %7D%0A

add gear functions