public interface PenInterface extends TurtleInterface
VERSION
Modifier and Type | Method and Description |
---|---|
void |
drawLine()
terminal action of rule
|
int |
getColor()
line color getter
|
float |
getLength()
Line color getter
|
float |
getWidth()
Line width getter
|
void |
incrementGreen(int increment) |
void |
resizeLength(float adj) |
void |
setColor(int col)
line color setter
|
void |
setLength(float len)
Length setter
|
void |
setWidth(float width)
Line width setter
|
void |
turnLeft(int repeats) |
void |
turnRight(int repeats) |
int getColor()
float getLength()
float getWidth()
void setColor(int col)
col
- intvoid setLength(float len)
len
- void setWidth(float width)
width
- floatvoid drawLine()
void incrementGreen(int increment)
increment
- void turnLeft(int repeats)
repeats
- void turnRight(int repeats)
repeats
- void resizeLength(float adj)
adj
-