feature/background-manager #6
@@ -1,6 +1,6 @@
|
||||
DesitionManager.register({
|
||||
id = "go_to_walking_to_home",
|
||||
label = "Go to Walking to home",
|
||||
label = "Walking to home",
|
||||
handle = function()
|
||||
Util.go_to_screen_by_id("walking_to_home")
|
||||
end,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
DesitionManager.register({
|
||||
id = "go_to_walking_to_office",
|
||||
label = "Go to Walking to office",
|
||||
label = "Walking to office",
|
||||
handle = function()
|
||||
Util.go_to_screen_by_id("walking_to_office")
|
||||
end,
|
||||
|
||||
@@ -5,5 +5,5 @@ ScreenManager.register({
|
||||
"go_to_toilet",
|
||||
"go_to_walking_to_office",
|
||||
},
|
||||
background_map_id = "bedroom",
|
||||
background = "bedroom",
|
||||
})
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function GameWindow.draw()
|
||||
local screen = Context.screens[Context.current_screen]
|
||||
MapManager.draw(screen.background_map_id)
|
||||
MapManager.draw(screen.background)
|
||||
UI.draw_top_bar(screen.name)
|
||||
if screen and screen.decisions and #screen.decisions > 0 then
|
||||
local available_desitions = {}
|
||||
|
||||
Reference in New Issue
Block a user