Commit fc139742 by Patryk Czarnik

Turtle

parent 35e31a58
package turtle;
import java.awt.Color;
public class PierwszeProbyRysowania {
public static void main(String[] args) {
Turtle.setCanvasSize(1200, 900);
Turtle turtle = new Turtle();
turtle.forward(200);
turtle.right(45);
turtle.forward(100);
turtle.penColor(Color.BLUE);
turtle.width(3);
turtle.right(90);
turtle.forward(100);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment