Beispiel #1
0
 void DrawLine(int x0, int y0, int x1, int y1) {
     turtle.GoTo(x0, y0);
     turtle.PenDown();
     turtle.GoTo(x1, y1);
     turtle.PenUp();
 }
Beispiel #2
0
 bool Painter::paint(Turtle& turtle) {
     turtle.PenUp();
     turtle.PenDown();
     return true;
 }