package org.usfirst.frc.team1699.auto;

import java.util.ArrayList;

import org.usfirstfrc.team1699.command.Command;

public abstract class AutoCommands {
	
	private ArrayList<Command> autoCommands;
	
	public AutoCommands(){
		autoCommands = new ArrayList<Command>();
	}
	
	public abstract void forward(int distance);
	public abstract void backward(int distance);
	public abstract void turnLeft(int distance);
	public abstract void turnRight(int distance);
	
	public void addCommand(Command c){
		autoCommands.add(c);
	}
	
	public void callCommand(String name){
		for(int i = 0; i < autoCommands.size(); i++){
			if(autoCommands.get(i).getName().equals(name)){
				//Run command
			}
		}
	}
	
}

@@ -389,30 +389,28 @@
 rnLeft(int d
-istanc
+egre
 e);%0A%09public 
@@ -434,31 +434,63 @@
 nRight(int d
-istance
+egree);%0A%09public abstract void function(
 );%0A%09%0A%09public

Update AutoCommands.java