mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 14:04:05 +09:00
working filesystem (tested: mkdir, open, file:writeLine/close, cp, mv, rm)
Former-commit-id: ce3fcae801291f770ed19dce4616b8ab61556f9b Former-commit-id: 999d637fac1c1c6a9ff855ebb8f7f37336519771
This commit is contained in:
@@ -100,14 +100,14 @@ constructor(gamename: String) : StateBasedGame(gamename) {
|
||||
|
||||
gc.graphics.clear() // clean up any 'dust' in the buffer
|
||||
|
||||
//addState(StateVTTest())
|
||||
addState(StateVTTest())
|
||||
//addState(StateTestingSandbox())
|
||||
//addState(StateSplash())
|
||||
//addState(StateMonitorCheck())
|
||||
//addState(StateFontTester())
|
||||
|
||||
ingame = StateInGame()
|
||||
addState(ingame)
|
||||
//ingame = StateInGame()
|
||||
//addState(ingame)
|
||||
}
|
||||
|
||||
companion object {
|
||||
@@ -412,6 +412,9 @@ constructor(gamename: String) : StateBasedGame(gamename) {
|
||||
}
|
||||
return cfg!!
|
||||
}
|
||||
|
||||
val currentSaveDir: File
|
||||
get() = File(defaultSaveDir + "/test") // TODO TEST CODE
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user