Files
hsgj25-growth/growth/Card/BaseCard.gd
Daniel Olsen ea34015f19 oh maybe, oh baby, oh maybe, oh baby
Say whoaoh
say whoa oh
say whoa
say yay
yay
2025-10-04 23:46:09 +02:00

17 lines
306 B
GDScript

extends Control
class_name BaseCard
@export var behaviors = []
@export var title = ""
func _ready() -> void:
for behavior in behaviors:
$Behaviors.add_child(behavior.instantiate())
func activate(world, activator):
for behavior in $Behaviors.get_children():
behavior.activate(world, activator)