//let's make the bike move
//first get its position
MyBike.processBike(); //update the bike
pos = MyBike.position/10; //yuk, direct access to member data
//finally let's draw the bike ok it's doesn't look great, so make it better
g.fillOval(pos,50,10,10);
g.fillOval(pos+25,50,10,10);
g.drawLine(pos+5,55,pos+30,55);
g.drawLine(pos+30,55,pos+22,35);
showStatus("xBike pos = "+MyBike.position+" Gear = "+MyBike.gear+" speed = " +MyBike.speed);
repaint();