mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
ac47e9d88a
#bug #refactor #implement #story[1118]
26 lines
359 B
Java
26 lines
359 B
Java
package seng302.gameServer.messages;
|
|
|
|
/**
|
|
* The current status of a boat
|
|
*/
|
|
public enum BoatStatus {
|
|
UNDEFINED(0),
|
|
PRESTART(1),
|
|
RACING(2),
|
|
FINISHED(3),
|
|
DNS(4),
|
|
DNF(5),
|
|
DSQ(6),
|
|
CS(7);
|
|
|
|
private long code;
|
|
|
|
BoatStatus(long code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public long getCode(){
|
|
return code;
|
|
}
|
|
}
|