blob: 5d5d6d050cabef6f27f648bf2bd762d13271dfcb [file] [log] [blame] [raw]
package net.glowstone.msg;
public final class StateChangeMessage extends Message {
private final byte state, gameMode;
public StateChangeMessage(byte state, byte gameMode) {
this.state = state;
this.gameMode = gameMode;
}
public byte getState() {
return state;
}
public byte getGameMode() {
return gameMode;
}
@Override
public String toString() {
return "StateChangeMessage{state=" + state + ",gamemode=" + gameMode + "}";
}
}