public class CommandFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static CommandFactory |
m_factory |
Constructor and Description |
---|
CommandFactory() |
Modifier and Type | Method and Description |
---|---|
edu.wpi.first.wpilibj.command.Command |
getCommand(java.lang.String commandID)
getCommand - Get and create the command based on the commandID
|
static CommandFactory |
getCommandFactory() |
private static CommandFactory m_factory
public static CommandFactory getCommandFactory()
public edu.wpi.first.wpilibj.command.Command getCommand(java.lang.String commandID)
commandID
- = name of the command from the text file