mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
bc31987f96
- Added static methods to convert between binary packed lat/longs and floating point numbers Tags: #story[829]
22 lines
326 B
Java
22 lines
326 B
Java
package seng302.server.messages;
|
|
|
|
/**
|
|
* The status of a boat rounding a mark
|
|
*/
|
|
public enum RoundingBoatStatus {
|
|
UNKNOWN(0),
|
|
RACING(1),
|
|
DSQ(2),
|
|
WITHDRAWN(3);
|
|
|
|
private long code;
|
|
|
|
RoundingBoatStatus(long code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public long getCode(){
|
|
return code;
|
|
}
|
|
}
|