remove demo game

This commit is contained in:
2026-05-25 21:28:17 +02:00
parent b1ea3447a8
commit 76f910ab36
75 changed files with 115 additions and 815 deletions

23
scene.def.go Normal file
View File

@@ -0,0 +1,23 @@
package pncdsl
type Scene struct {
Name string
Title string // optional human-readable title for the TopBar widget
Background string // Asset.Name
Music string // Asset.Name (optional)
Hotspots []Hotspot
Walkboxes []Polygon
Triggers []Trigger
Actors []SceneActor
OnEnter Action
OnLeave Action
}
func (s Scene) GetName() string { return s.Name }
func (s Scene) TypeLabel() string { return "scene" }
// SceneActor places a registered Character at a starting position inside a scene.
type SceneActor struct {
CharacterName string
At Point
}