public class Home extends Instruction
gelementsToValue
Constructor and Description |
---|
Home()
Represents a HOME command
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Context c)
Evaluate the expression and move turtle HOME.
|
java.lang.String |
toString() |
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