extends Position2D

export (float, 0.0, 5.0) var speed = 1

onready var effects = $Effects


#func apply_effects(target: Entity):
#	if not target is Entity:
#		return
#
#	for effect in effects.get_children():
#		var new_effect = effect.duplicate()
#
#		#for old_effect in target.current_effects.get_children():
#			#if j.get("damage") != null:
#				#j.damage += damage_base
#				#print(j.name, " damage: " + str(j.damage))
#
#		target.add_effect(new_effect)
##		target.current_effects.add_child(new_effect)
##		new_effect.target = target
##		new_effect.init()
