I know that in Java is class WayPoint but I do not have a clue how it works. Is it just for gps systems?
I need to create program where are waypoints and white point is following them. That white point is controlled by keys - W (forward), A (left), S (backward), D (right), but it is moving like a car. That means if it (point) is "looking" to the north and want to go on west then class Robot has to press W and A at the same time (for cca 1 sec. to turn left - 90°).
I think it will be difficult to write it.
I guess there has to be another function (or 'constructor' is right?) which will be returning current position of white point. Something like this Help with Robot Class ?