cosmic/scripts/Star System/faction.gd
2024-05-14 22:01:33 +03:00

11 lines
216 B
GDScript

extends Node
class_name FactionNode
## Faction that is represented with this node
@export var faction: Game.Faction
func _ready():
for child in get_children():
if "faction" in child:
child.faction = faction