diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2023-12-28 09:07:41 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2023-12-28 09:07:41 +0100 |
commit | 96d36cee33d6321834565f0a5d412ef95c5ceffd (patch) | |
tree | 0dec02c5915cc154d48eef6ac9c2cd0be7df7982 /Scenes/Entities/Objects | |
parent | 46556d864b9685c3b09a0038f5de83966fe7ff94 (diff) |
next commit
Diffstat (limited to 'Scenes/Entities/Objects')
-rw-r--r-- | Scenes/Entities/Objects/Coin.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Scenes/Entities/Objects/Coin.gd b/Scenes/Entities/Objects/Coin.gd index 77fc6c2..48e30b3 100644 --- a/Scenes/Entities/Objects/Coin.gd +++ b/Scenes/Entities/Objects/Coin.gd @@ -2,6 +2,8 @@ extends StaticBody2D func _ready(): + add_to_group("coins") + var collision_area = Utilities.Collision.Area.new(self, $CollisionShape2D, false) collision_area.connect("collided", Callable(self, "_collide")) add_child(collision_area) |