public class TextCommandScript extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<String> |
commandList
Array list of strings, each one representing a single command
|
| Constructor and Description |
|---|
TextCommandScript(Execution vehicle)
Creates a new instance of TextCommandScript
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCommandList() |
String |
getCurrentCommand() |
String |
getNextCommand() |
int |
getReturnedCommandIndex() |
public TextCommandScript(Execution vehicle) throws TextMissionLoadException
vehicle - reference to main vehicle object to which this script appliesTextMissionLoadException - if bad loadpublic List<String> getCommandList()
public String getCurrentCommand()
public String getNextCommand()
public int getReturnedCommandIndex()