| RiverRat - An MIT iCampus project | http://web.mit.edu/riverrat/ |
Inheritance diagram for riverrat.Boat:

Public Member Functions | |
| Boat () | |
| Default constructor. | |
| Boat (int newid) | |
| Constructor. | |
| String | boatToString () |
| Returns a String with the target's id, Fix (using Fix.fixToString()) and heading in decimal degrees. | |
Static Package Attributes | |
| final boolean | DEBUG = false |
The first version of this class is complete.
Definition at line 11 of file Boat.java.
|
|
Default constructor. Calls the super() constructor to create a Boat with id of -1, a Fix with the default constructor, and a track with an empty Vector. |
|
|
Constructor. Calls the super(int newid) constructor to create a Boat with a specific id, a Fix with the default constructor, and a track with an empty Vector.
|
|
|
Returns a String with the target's id, Fix (using Fix.fixToString()) and heading in decimal degrees.
Definition at line 40 of file Boat.java. References riverrat.Fix.fixToString(), and riverrat.Fix.getHeading(). Referenced by riverrat.Race.main(). |