public class Game
{
private int x;
private Picture pic;
public Game()
{int i=0;
int distance=10;
Line s1= new Line(100,100,100,500);
s1.draw();
Line s2= new Line(200,100,200,500);
s2.draw();
Line s3= new Line(300,100,300,500);
s3.draw();
Line s4= new Line(400,100,400,500);
s4.draw();
Line s5= new Line(500,100,500,500);
s5.draw();
Line o1=new Line(100,100,500,100);
o1.draw();
Line o2=new Line(100,200,500,200);
o2.draw();
Line o3=new Line(100,300,500,300);
o3.draw();
Line o4=new Line(100,400,500,400);
o4.draw();
Line o5=new Line(100,500,500,500);
o5.draw();
Picture pic2=new Picture("stickman.jpg");
pic=pic2;
pic.translate(110,110);
pic.draw();
}
}