mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
6874f288ee
Tags: #story[29]
26 lines
355 B
Java
26 lines
355 B
Java
package seng302.server.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;
|
|
}
|
|
}
|