GameWorld: adding "worldIndex"; more save/load stuffs

This commit is contained in:
minjaesong
2018-10-03 23:15:24 +09:00
parent d2b7c76734
commit 78fc6fc657
14 changed files with 1301 additions and 58 deletions

View File

@@ -231,7 +231,8 @@ open class Ingame(batch: SpriteBatch) : IngameInstance(batch) {
// init map as chosen size
gameworld = GameWorldExtension(worldParams.width, worldParams.height)
gameworld = GameWorldExtension(1, worldParams.width, worldParams.height)
gameworldCount++
world = gameworld as GameWorld
// generate terrain for the map