Added pickups and doors

This commit is contained in:
2026-01-07 17:33:42 +03:00
parent 33bbac64a1
commit 33cbfeebb9
40 changed files with 732 additions and 5 deletions
+8
View File
@@ -0,0 +1,8 @@
class_name AbstractPickup
extends Area2D
func _on_body_entered(body: Node2D) -> void:
if body.has_method("add_pickup"):
collision_mask = 0
body.add_pickup(self)