LiteCraft/src/main/java/com/github/halotroop/litecraft/options/SettingsConfig.java

28 lines
572 B
Java
Raw Normal View History

2020-02-04 00:57:13 +00:00
package com.github.halotroop.litecraft.options;
import org.aeonbits.owner.Config;
@Config.Sources("file:~/Documents/LiteCraft.config")
public interface SettingsConfig extends Config
{
@Key("render.screen_width")
2020-02-04 00:57:13 +00:00
@DefaultValue("640")
public int screenWidth();
2020-02-21 06:52:55 +00:00
@Key("render.screen_height")
2020-02-04 00:57:13 +00:00
@DefaultValue("480")
public int screenHeight();
2020-02-21 06:52:55 +00:00
@Key("render.max_fps")
@DefaultValue("60")
public int max_fps();
2020-02-21 06:52:55 +00:00
@Key("debug.debug_mode")
2020-02-04 00:57:13 +00:00
@DefaultValue("false")
public boolean debugMode();
2020-02-21 06:52:55 +00:00
@Key("debug.spam_log")
2020-02-04 00:57:13 +00:00
@DefaultValue("false")
public boolean spamLog();
}