public class GametypeAndMapControl extends ProtocolZero
Modifier and Type | Field and Description |
---|---|
static int |
CAPTURE_THE_FLAG |
static int |
FREE_FOR_ALL |
static int |
TEAM_DEATHMATCH |
static int |
TOURNAMENT |
formatted, paramscan, priority
Constructor and Description |
---|
GametypeAndMapControl(int gametype,
java.lang.String map) |
GametypeAndMapControl(java.lang.String map) |
Modifier and Type | Method and Description |
---|---|
int |
getGametype() |
java.lang.String |
getMap() |
void |
setData(java.lang.String params)
Sets command response data.
|
protected void |
setOp() |
getPriority, hasTerminated, pause, resume, run, setExecutor, terminate, update
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public static int FREE_FOR_ALL
public static int TOURNAMENT
public static int TEAM_DEATHMATCH
public static int CAPTURE_THE_FLAG
public GametypeAndMapControl(int gametype, java.lang.String map)
public GametypeAndMapControl(java.lang.String map)
public int getGametype()
public java.lang.String getMap()
public void setData(java.lang.String params)
ProtocolZero
setData
in class ProtocolZero
params
- Data string. For all "data" messages it is identified by the form:
protected void setOp()
setOp
in class ProtocolZero