package com.esir.sr.sweetsnake.enumeration;
/**
*
* @author Herminaƫl Rougier
* @author Damien Jouanno
*
*/
public enum PlayerStatus
{
/** The disconnected status */
DISCONNECTED("disconnected"),
/** The available status */
AVAILABLE("available"),
/** The invited status */
INVITED("invited"),
/** The present status */
PRESENT("present"),
/** The ready status */
READY("ready"),
/** The denied status */
DENIED("denied"),
/** The playing status */
PLAYING("playing");
/** The status value */
private String value = "unknown";
/**
*
* @param _value
*/
PlayerStatus(final String _value) {
value = _value;
}
/*
* (non-Javadoc)
*
* @see java.lang.Enum#toString()
*/
@Override
public String toString() {
return value;
}
}