summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Bombs
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Entities/Bombs')
-rw-r--r--Scenes/Entities/Bombs/Bomb.gd5
-rw-r--r--Scenes/Entities/Bombs/Bomb__Breakables.tscn2
-rw-r--r--Scenes/Entities/Bombs/Bomb__Normal.tscn2
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"]