public static class Draw.Forward extends DrawCommand
TurtleDrawCommand#Forward
Constructor and Description |
---|
Forward(float drawLength)
Create a new draw forward command.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(processing.core.PApplet parent)
Does the actual drawing of the shape/line/etc.
|
draw, setParent
public Forward(float drawLength)
drawLength
- the amount to draw/move forwardpublic void draw(processing.core.PApplet parent)
DrawCommand
draw
in class DrawCommand
parent
- the PApplet to draw toProcessing Library loom by Cora Johnson-Roberson. (c) 2014-2016