save/load kinda mostly working but fixtures are not getting their sprites back

This commit is contained in:
minjaesong
2021-09-06 17:31:37 +09:00
parent ec08f8d07e
commit 1accf985e7
29 changed files with 230 additions and 126 deletions

View File

@@ -9,6 +9,7 @@ import net.torvald.util.CircularArray
open class LoadScreenBase : ScreenAdapter(), Disposable {
open var preLoadJob: (LoadScreenBase) -> Unit = {}
open var screenToLoad: IngameInstance? = null
open lateinit var screenLoadingThread: Thread
@@ -33,6 +34,7 @@ open class LoadScreenBase : ScreenAdapter(), Disposable {
else {
val runnable = {
try {
preLoadJob(this)
screenToLoad!!.show()
}
catch (e: Exception) {