RiverRat  - An MIT iCampus project http://web.mit.edu/riverrat/

Main Page | Software Documentation | Hardware Documentation | People | Contact | Wiki

Main Page | Class Hierarchy | Class List | File List | Class Members

Boat.java

00001 package riverrat;
00002 
00003 import java.util.Vector;
00004 
00011 public class Boat extends RaceObject {
00012         static final boolean DEBUG = false;
00013 
00020         public Boat() {
00021                 super();
00022         }
00023         
00031         public Boat(int newid) {
00032                 super(newid);
00033         }
00034 
00040         public String boatToString() {
00041                 return ("Boat "+id+": "+thefix.fixToString()+"  "+(int) (((360.0f*thefix.getHeading())/(2.0f*Math.PI)))+"¡");
00042         }
00043 }
 

Brought to you by the RiverRat team.