Okay i set up a variable for speed in a car class
so
public static int speed = 1 ;
public void act() {
move(speed);
}
what should i write so if i click on a certain object the speed of the car increases!!??!??!
Thanks anyone who can help me!