mirror of
https://github.com/Febbweiss/rabbits-vs-hunter.git
synced 2026-03-04 22:25:37 +00:00
Feature: initial commit
This commit is contained in:
18
src/main/java/fr/pavnay/rabbits/model/enums/Status.java
Normal file
18
src/main/java/fr/pavnay/rabbits/model/enums/Status.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package fr.pavnay.rabbits.model.enums;
|
||||
|
||||
/**
|
||||
*
|
||||
* The hunt status
|
||||
*
|
||||
*/
|
||||
public enum Status {
|
||||
|
||||
RUNNING,
|
||||
HUNTER_WINS,
|
||||
RABBITS_WIN;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name().charAt(0) + name().substring(1).toLowerCase().replace('_', ' ');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user