diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-07-19 14:24:09 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-07-19 14:24:09 +0200 |
commit | 294f87adb4441ec25316601505ca1a7e97fa24c7 (patch) | |
tree | e48ed54e97f19ae5dd189ee42ddb73c4e995175f /Scenes/Entities/Bombs | |
parent | 06647b11ee163bc40daf454d87e1fcae563c3ced (diff) |
update
Diffstat (limited to 'Scenes/Entities/Bombs')
-rw-r--r-- | Scenes/Entities/Bombs/Bomb.gd | 5 | ||||
-rw-r--r-- | Scenes/Entities/Bombs/Bomb__Breakables.tscn | 2 | ||||
-rw-r--r-- | Scenes/Entities/Bombs/Bomb__Normal.tscn | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/Scenes/Entities/Bombs/Bomb.gd b/Scenes/Entities/Bombs/Bomb.gd index 0456c15..4a4e901 100644 --- a/Scenes/Entities/Bombs/Bomb.gd +++ b/Scenes/Entities/Bombs/Bomb.gd @@ -1,6 +1,5 @@ -extends CharacterBody2D - class_name Bomb +extends CharacterBody2D signal body_exited @@ -144,7 +143,7 @@ func _collide(area: Area2D): call_deferred("explode") -func _on_Timer_timeout(): +func _on_timer_timeout(): self.explode() diff --git a/Scenes/Entities/Bombs/Bomb__Breakables.tscn b/Scenes/Entities/Bombs/Bomb__Breakables.tscn index a4bb192..92a4900 100644 --- a/Scenes/Entities/Bombs/Bomb__Breakables.tscn +++ b/Scenes/Entities/Bombs/Bomb__Breakables.tscn @@ -47,4 +47,4 @@ wait_time = 4.0 one_shot = true autostart = true -[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] diff --git a/Scenes/Entities/Bombs/Bomb__Normal.tscn b/Scenes/Entities/Bombs/Bomb__Normal.tscn index d42223e..cb6813a 100644 --- a/Scenes/Entities/Bombs/Bomb__Normal.tscn +++ b/Scenes/Entities/Bombs/Bomb__Normal.tscn @@ -47,4 +47,4 @@ wait_time = 4.0 one_shot = true autostart = true -[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] +[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] |