Hi I'm a little stuck on a project where I'm getting a car to move and smoke out of its exhaust to move as the car moves away.
I need to repeatedly move the car move1 units right for move2 number of moves. Running inside this nested is the code for the smoke out the exhaust - everytime the car moves the smoke moves 7 back and 13 up and the diameter increases by 2, then every sixth move instea of moving back and up the smoke resets to original size and position...
This is the header.
public void moveCar(int move1, int move2)
All help appreciated!
Re: looping method
Not sure what you are asking...what code do you have so far and what specific question do you have. I understand about a car and exhaust, but without any more context its all guessing.