worldgenloadscreen now makes transition

This commit is contained in:
minjaesong
2019-11-27 17:31:29 +09:00
parent 5255392bc0
commit 25c585e4c1
5 changed files with 15 additions and 4 deletions

View File

@@ -225,7 +225,12 @@ object SanicLoadScreen : LoadScreenBase() {
AppLoader.batch.flush()
}
super.render(delta)
// replaces super.render()
if (doContextChange) {
Thread.sleep(80)
AppLoader.setScreen(screenToLoad!!)
}
}
private fun getPulseEffCol(): Color {