public static class TurtleDraw.Push extends TurtleDrawCommand
| Constructor and Description |
|---|
Push() |
| Modifier and Type | Method and Description |
|---|---|
TurtleState |
draw(processing.core.PApplet parent,
TurtleState state)
Draws the current command and returns an updated turtle state.
|
call, draw, setTurtledraw, setParentpublic TurtleState draw(processing.core.PApplet parent, TurtleState state)
TurtleDrawCommanddraw in class TurtleDrawCommandparent - the PApplet to draw tostate - the current state of the turtle (position/heading and stack)Processing Library loom by Cora Johnson-Roberson. (c) 2014-2016