mirror of
https://port.numenaute.org/aleajactaest/bazar_alea.git
synced 2024-11-09 16:59:02 +00:00
13 lines
314 B
GDScript
13 lines
314 B
GDScript
extends Node
|
|
class_name AttributesManager
|
|
|
|
|
|
@export var character : Node
|
|
var attributes : Dictionary
|
|
|
|
func _ready():
|
|
for child in get_children():
|
|
if !(child is GameAttribute):
|
|
continue
|
|
#assert( !(child is GameAttribute), "Only GameAttribute childs are allowed")
|
|
attributes[child.attribute_name] = child
|