RiverRat - An MIT iCampus project | http://web.mit.edu/riverrat/ |
Inheritance diagram for riverrat.DynamicMark:
Public Member Functions | |
DynamicMark (int newid) | |
void | update (Fix newfix) |
Updates the target's current position with a Fix. |
The first version of this class is complete.
Definition at line 8 of file DynamicMark.java.
|
Updates the target's current position with a Fix. Shifts the current position into the top of the track Vector, and updates the target's heading based on the previous position, if the heading has not already been defined in the argument Fix. The track Vector is managed to ensure that it stays the right size.
Reimplemented from riverrat.RaceObject. Definition at line 17 of file DynamicMark.java. References riverrat.Fix.setHeading(). |