Added correct passage drawing
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user