|
||||||||||
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.IsPenDown
public class IsPenDown
returns 1 (:TRUE) if the pen is down, 0 (:FALSE) if it's up.
Field Summary |
---|
Fields inherited from class slogo.language.GrammarElement |
---|
gelementsToValue |
Constructor Summary | |
---|---|
IsPenDown()
|
Method Summary | |
---|---|
java.lang.Object |
evaluate(Context c)
returns 1 (:TRUE) if the pen is down, 0 (:FALSE) if it's up. |
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 IsPenDown()
Method Detail |
---|
public java.lang.Object evaluate(Context c)
evaluate
in class Instruction
c
- context in which the evaluation takes place
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |