changed naming of demoroom

This commit is contained in:
Felix Baumgärtner 2024-08-20 16:12:52 +02:00
parent aa9dcea14b
commit 524160c6b7

View File

@ -60,7 +60,7 @@ class Overworld {
} }
init() { init() {
this.startMap(window.OverworldMaps.DemoRoom); this.startMap(window.OverworldMaps.Entrance);
this.bindActionInput(); this.bindActionInput();
this.bindHeroPositionCheck(); this.bindHeroPositionCheck();
@ -70,14 +70,8 @@ class Overworld {
this.startGameLoop(); this.startGameLoop();
this.map.startCutscene([ // this.map.startCutscene([
// { who: "hero", type: "walk", direction: "down" }, // { type: "battle" },
// { who: "hero", type: "walk", direction: "down" }, // ])
// { who: "hero", type: "walk", direction: "down" },
// { who: "npc1", type: "walk", direction: "right" },
// { who: "hero", type: "stand", direction: "left", time: 200 },
// { type: "textMessage", text: "Hi! Lorem ipsum" },
// { type: "changeMap", map: "Kitchen" },
])
} }
} }