From 81cc6f1d22677dd4a60aa9377c91b291bf10e523 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 27 Apr 2024 20:06:49 +0200 Subject: update --- Scenes/Entities/Objects/Box.gd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Scenes/Entities/Objects/Box.gd') diff --git a/Scenes/Entities/Objects/Box.gd b/Scenes/Entities/Objects/Box.gd index c7b7d4e..8d1d40b 100644 --- a/Scenes/Entities/Objects/Box.gd +++ b/Scenes/Entities/Objects/Box.gd @@ -2,6 +2,8 @@ extends StaticBody2D func _ready(): + add_to_group("breakables") + var collision_area = Utilities.Collision.Area.new(self, $CollisionShape2D, false) collision_area.connect("collided", Callable(self, "_collide")) add_child(collision_area) -- cgit v1.2.3