register logic

This commit is contained in:
2026-08-29 23:59:56 +02:00
parent ddea3b0893
commit 94649a38fe
83 changed files with 830 additions and 699 deletions
+8 -8
View File
@@ -1,17 +1,17 @@
package inc
func screenNoodleHouse() screen {
return screen{
name: ScreenNoodleHouse,
title: "NOODLE'S HOUSE — SEALED",
background: BgNoodleHouse,
onSelector: true,
exits: []exit{
func init() {
ScreenManager.Register(Screen{
Name: ScreenNoodleHouse,
Title: "NOODLE'S HOUSE — SEALED",
Background: BgNoodleHouse,
OnSelector: true,
Exits: []exit{
{
to: ScreenAlley,
label: "the alley behind the house",
side: sideRight,
},
},
}
})
}