mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
fix func name conflict
This commit is contained in:
@@ -152,7 +152,7 @@ class TitleScreen(batch: SpriteBatch) : IngameInstance(batch) {
|
||||
demoWorld.worldTime.timeDelta = 150
|
||||
|
||||
|
||||
IngameRenderer.setWorld(demoWorld)
|
||||
IngameRenderer.setRenderedWorld(demoWorld)
|
||||
|
||||
|
||||
uiMenu = UIRemoCon(UITitleRemoConYaml())//UITitleRemoConRoot()
|
||||
|
||||
@@ -307,7 +307,7 @@ class BuildingMaker(batch: SpriteBatch) : IngameInstance(batch) {
|
||||
uiPalette.setPosition(200, 100)
|
||||
|
||||
|
||||
IngameRenderer.setWorld(gameWorld)
|
||||
IngameRenderer.setRenderedWorld(gameWorld)
|
||||
}
|
||||
|
||||
override fun show() {
|
||||
|
||||
@@ -157,7 +157,7 @@ object IngameRenderer : Disposable {
|
||||
* - When the main scene that renders the world is first created
|
||||
* - When the game make transition to the new world (advancing to the next level/entering or exiting the room)
|
||||
*/
|
||||
fun setWorld(world: GameWorld) {
|
||||
fun setRenderedWorld(world: GameWorld) {
|
||||
try {
|
||||
if (this.world != world) {
|
||||
printdbg(this, "World change detected -- " +
|
||||
|
||||
@@ -189,7 +189,7 @@ open class TerrarumIngame(batch: SpriteBatch) : IngameInstance(batch) {
|
||||
GameLoadMode.LOAD_FROM -> enter(gameLoadInfoPayload as GameSaveData)
|
||||
}
|
||||
|
||||
IngameRenderer.setWorld(gameworld)
|
||||
IngameRenderer.setRenderedWorld(gameworld)
|
||||
|
||||
|
||||
super.show() // gameInitialised = true
|
||||
|
||||
Reference in New Issue
Block a user