public class Command
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Command.Type |
Constructor and Description |
---|
Command(Command.Type type,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
double |
getDoubleValue() |
int |
getIntValue() |
Command.Type |
getType() |
java.lang.Object |
getValue() |
org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
getVector2DValue() |
boolean |
isDashCommand() |
boolean |
isMoveCommand() |
boolean |
isTurnCommand() |
public Command(Command.Type type, java.lang.Object value)
public Command.Type getType()
public java.lang.Object getValue()
public double getDoubleValue()
public int getIntValue()
public org.apache.commons.math3.geometry.euclidean.twod.Vector2D getVector2DValue()
public boolean isMoveCommand()
public boolean isTurnCommand()
public boolean isDashCommand()