public class Left extends Instruction
Modifier and Type | Field and Description |
---|---|
private GrammarElement |
degrees |
gelementsToValue
Constructor and Description |
---|
Left(GrammarElement d) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Context c)
Evaluate the expression and rotate turtle.
|
java.lang.String |
toString() |
private GrammarElement degrees
public Left(GrammarElement d)
public java.lang.Object evaluate(Context c)
evaluate
in class Instruction
c
- is the Context in which the evaluation occurspublic java.lang.String toString()
toString
in class java.lang.Object