Core/src/eu/univento/core/api/Settings.java

67 lines
1.1 KiB
Java

package eu.univento.core.api;
/**
* server-wide settings
* @author joethei
* @version 0.1
*/
public class Settings {
private static boolean build;
private static boolean lobby;
private static boolean debug;
private static boolean mute;
/**
* @return is build
*/
public static boolean isBuild() {
return build;
}
/**
* @param build the build to set
*/
public static void setBuild(boolean build) {
Settings.build = build;
}
/**
* @return is lobby
*/
public static boolean isLobby() {
return lobby;
}
/**
* @param lobby the lobby to set
*/
public static void setLobby(boolean lobby) {
Settings.lobby = lobby;
}
/**
* @return is debug
*/
public static boolean isDebug() {
return debug;
}
/**
* @param debug the debug to set
*/
public static void setDebug(boolean debug) {
Settings.debug = debug;
}
/**
* @return is mute
*/
public static boolean isMute() {
return mute;
}
/**
*
* @param mute the mute to set
*/
public static void setMute(boolean mute) {
Settings.mute = mute;
}
}