testing
class_name Action # Reference is the default type you extend in Godot, even if you omit this line. # Godot allocates and frees instances of a Reference from memory for you. extends Reference # Emitted when the action finished playing. signal finished var _data: ActionData var _actor var _targets := [] # The constructor allows you to create actions from code like so: # var action := Action.new(data, battler, targets) func _init(data: ActionData, actor, targets: Array) -> void: _data = data _actor = actor _targets = targets