Map size and camera bounds

This commit is contained in:
gamer147
2026-04-07 07:41:43 -04:00
parent b086c7d181
commit 344efee7b4
4 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
class_name MapLayout extends Resource
@export var size: Vector2i = Vector2i.ZERO
@export var rooms: Array[Room]
## Openings are stored as a flat array of pairs: [from1, to1, from2, to2, ...].
## Each consecutive pair of Vector2i values represents a bidirectional doorway