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]
21 lines
298 B
Java
21 lines
298 B
Java
package seng302.server.messages;
|
|
|
|
/**
|
|
* The side the boat rounded the mark
|
|
*/
|
|
public enum RoundingSide {
|
|
UNKNOWN(0),
|
|
PORT(1),
|
|
STARBOARD(2);
|
|
|
|
private long code;
|
|
|
|
RoundingSide(long code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public long getCode(){
|
|
return code;
|
|
}
|
|
}
|