Commit 4600ff0e by Patryk Czarnik

dwa żółwie

parent 742cee26
package turtle;
import java.awt.Color;
public class DwaZolwie {
public static void main(String[] args) {
Turtle.setCanvasSize(1200, 900);
Turtle zielony = new Turtle();
Turtle niebieski = new Turtle();
zielony.penColor(Color.GREEN);
niebieski.penColor(Color.BLUE);
zielony.left(30);
niebieski.right(45);
zielony.forward(200);
zielony.left(30);
zielony.forward(100);
niebieski.forward(250);
}
}
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