replaced a hack that starts random game on title screen

This commit is contained in:
minjaesong
2018-12-08 18:30:10 +09:00
parent 91ade00bbb
commit 20dfc95d0d
8 changed files with 196 additions and 31 deletions

View File

@@ -132,10 +132,10 @@ open class Ingame(batch: SpriteBatch) : IngameInstance(batch) {
//private val ingameDrawThread: ThreadIngameDraw // draw must be on the main thread
var gameInitialised = false
private set
var gameFullyLoaded = false
private set
override var gameInitialised = false
internal set
override var gameFullyLoaded = false
internal set
private val TILE_SIZEF = FeaturesDrawer.TILE_SIZE.toFloat()
@@ -168,7 +168,8 @@ open class Ingame(batch: SpriteBatch) : IngameInstance(batch) {
//BlocksDrawer.world = this.world
FeaturesDrawer.world = this.world
gameInitialised = true
super.show() // gameInitialised = true
}
data class GameSaveData(