//Oval
g.drawOval(x,y,40,40);
//Collision boxes for oval
//Square 1
g.drawRect(x,y,10,10);
g.drawRect(x+10,y,10,10);
g.drawRect(x+10,y+10,10,10);
g.drawRect(x,y+10,10,10);
//Square 2
g.drawRect(x+20,y,10,10);
g.drawRect(x+30,y,10,10);
g.drawRect(x+20,y+10,10,10);
g.drawRect(x+30,y+10,10,10);
//Square 3
g.drawRect(x,y+20,10,10);
g.drawRect(x+10,y+20,10,10);
g.drawRect(x,y+30,10,10);
g.drawRect(x+10,y+30,10,10);
//Sqaure 4
g.drawRect(x+20,y+20,10,10);
g.drawRect(x+30,y+20,10,10);
g.drawRect(x+20,y+30,10,10);
g.drawRect(x+30,y+30,10,10);
//Platform
g.drawRect(px,400,60,20);
//Collision boxes for platform
//P 1
g.drawRect(px,400,10,10);
g.drawRect(px+10,400,10,10);
g.drawRect(px,410,10,10);
g.drawRect(px+10,410,10,10);
//P 2
g.drawRect(px+20,400,10,10);
g.drawRect(px+30,400,10,10);
g.drawRect(px+20,410,10,10);
g.drawRect(px+30,410,10,10);
//P 3
g.drawRect(px+40,400,10,10);
g.drawRect(px+50,400,10,10);
g.drawRect(px+40,410,10,10);
g.drawRect(px+50,410,10,10);