|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectslogo.language.GrammarElement
slogo.instruction.Instruction
slogo.instruction.drawing.OneParameterInstruction
slogo.instruction.drawing.Forward
public class Forward
moves the turtle forward by dist pixels
Field Summary |
---|
Fields inherited from class slogo.instruction.drawing.OneParameterInstruction |
---|
param |
Fields inherited from class slogo.language.GrammarElement |
---|
gelementsToValue |
Constructor Summary | |
---|---|
Forward(GrammarElement distanceExp)
|
Method Summary | |
---|---|
java.lang.Object |
evaluate(Context c)
Evaluate this language construct in some context. |
Methods inherited from class slogo.instruction.Instruction |
---|
evaluateNumericExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Forward(GrammarElement distanceExp)
Method Detail |
---|
public java.lang.Object evaluate(Context c)
GrammarElement
evaluate
in class OneParameterInstruction
c
- context in which the evaluation takes place
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |