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,12 +1,12 @@
package inc
func screenNormanApartment() screen {
return screen{
name: ScreenNormanApartment,
title: "NORMAN'S APARTMENT",
background: BgNormanApartment,
onSelector: true,
exits: []exit{
func init() {
ScreenManager.Register(Screen{
Name: ScreenNormanApartment,
Title: "NORMAN'S APARTMENT",
Background: BgNormanApartment,
OnSelector: true,
Exits: []exit{
{
to: ScreenRooftopHideout,
label: "the stairs up to the roof",
@@ -18,5 +18,5 @@ func screenNormanApartment() screen {
side: sideRight,
},
},
}
})
}