This commit is contained in:
nelle 2023-10-29 13:25:08 -06:00
parent b67935513a
commit 8c51e43e79
2 changed files with 1 additions and 2 deletions

View file

@ -12,6 +12,7 @@ import java.util.*
val file = File("./run/conf.properties") val file = File("./run/conf.properties")
val prop = Properties() val prop = Properties()
//TODO: make them variables work :(
//init values //init values
public val winW = prop.getProperty("winWidth") public val winW = prop.getProperty("winWidth")
//public val WINDOW_WIDTH = winW.toInt() //public val WINDOW_WIDTH = winW.toInt()

View file

@ -37,6 +37,4 @@ object GameConfig {
.withTitle("$GAME_ID | $GAME_VER") .withTitle("$GAME_ID | $GAME_VER")
.withIcon("assets/icon.png") .withIcon("assets/icon.png")
.build() .build()
//TODO: Replace most of this with a json/yaml/whatever config file for the user to be able to edit.
} }