public void act()
{
if(Greenfoot.isKeyDown("w"))
{
gameStarted = true;
}
if (gameStarted == true)
{
move (6);
}
if (Greenfoot.isKeyDown("a"))turn(-6);
Car a = (Car) getOneIntersectingObject(tire.class);
if(a != null) {
setLocation(213,441);
setRotation(0);
return;
}
}
