fx: readded merged function
This commit is contained in:
1 parent
241dfb3073
commit
a11805ad30
3 files changed
+11
-10
No files matched your search
@@ -16,6 +16,10 @@ func move(motion: Vector3, mod: float) -> void:
|
||||
# Apply boundary to new position
|
||||
position = GameManager.get_boundaried_position(position)
|
||||
|
||||
func handle_damage(dmg: int, src: Node) -> void:
|
||||
if owner:
|
||||
owner.handle_damage(dmg, src)
|
||||
|
||||
func duplicate_init() -> void:
|
||||
var sight = $Sight
|
||||
remove_child(sight)
|
||||
|
||||