mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Added Race Status messages to the mock streaming data interface
Tags: #story[29]
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package seng302.server.messages;
|
||||
|
||||
/**
|
||||
* Enum containing the supported wind directions
|
||||
*/
|
||||
public enum WindDirection {
|
||||
NORTH(0x0000L),
|
||||
EAST(0x4000L),
|
||||
SOUTH(0x8000L);
|
||||
|
||||
private long code;
|
||||
|
||||
WindDirection(long code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public long getCode() {
|
||||
return code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user