forked from fauvet/API_BUT5.5
Modified Result as an Enum class
This commit is contained in:
parent
ee380deb0e
commit
a048b85ce7
@ -2,5 +2,4 @@ package fr.iut_fbleau.raw_api_body.entity;
|
|||||||
|
|
||||||
public abstract class Ply {
|
public abstract class Ply {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
@ -3,19 +3,8 @@ package fr.iut_fbleau.raw_api_body.entity;
|
|||||||
/**
|
/**
|
||||||
* The type Result.
|
* The type Result.
|
||||||
*/
|
*/
|
||||||
public class Result {
|
public enum Result {
|
||||||
|
GAGNE,
|
||||||
/**
|
EGALITE,
|
||||||
* The constant GAGNE.
|
PERDU;
|
||||||
*/
|
|
||||||
public final static int GAGNE = 1;
|
|
||||||
/**
|
|
||||||
* The constant EGALITE.
|
|
||||||
*/
|
|
||||||
public final static int EGALITE = 0;
|
|
||||||
/**
|
|
||||||
* The constant PERDU.
|
|
||||||
*/
|
|
||||||
public final static int PERDU = -1;
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user