mirror of
https://port.numenaute.org/aleajactaest/bazar_alea.git
synced 2024-10-06 16:58:33 +00:00
13 lines
273 B
GDScript3
13 lines
273 B
GDScript3
|
extends Node
|
||
|
class_name AttributesManager
|
||
|
|
||
|
|
||
|
@export var character : Node
|
||
|
var attributes : Dictionary
|
||
|
|
||
|
func _ready():
|
||
|
for child in get_children():
|
||
|
if !(child is GameAttribute):
|
||
|
assert("Only GameAttribute childs are allowed")
|
||
|
attributes[child.attribute_name] = child
|