mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
6874f288ee
Tags: #story[29]
21 lines
324 B
Java
21 lines
324 B
Java
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;
|
|
}
|
|
}
|