Added correct passage drawing

This commit is contained in:
2025-12-09 00:50:30 +03:00
parent 0d36b74fcd
commit 250a36bab3
7 changed files with 140 additions and 45 deletions
+10
View File
@@ -2,6 +2,9 @@ class_name SectorData
extends Resource
signal activity_changed(is_active: bool)
enum SectorType {
EmptySector,
ShopSector,
@@ -18,3 +21,10 @@ enum SectorType {
@export var seed_value : int = 0
@export var type : SectorType = SectorType.EmptySector
var is_active: bool = true:
set(value):
if is_active == value: return
is_active = value
activity_changed.emit(is_active)