added Gamerules to the GameWorld

This commit is contained in:
minjaesong
2022-06-03 00:54:50 +09:00
parent a57cb99619
commit fc59a1d0b2
5 changed files with 128 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ open class GameWorld() : Disposable {
/** Creation time for this world, NOT the entire savegame */
internal var totalPlayTime = 0L // cumulative value for this very world
val gameRules = KVHashMap() // spawn points, creation/lastplay/totalplaytimes are NOT stored to gameRules
init {
creationTime = App.getTIME_T()
}