Made trash object delete its entity when collected

This commit is contained in:
jonathan
2026-02-04 15:32:11 +01:00
parent 628da80ed3
commit 971d8d461b
9 changed files with 46 additions and 23 deletions
@@ -5,7 +5,7 @@ using Godot.Collections;
/// <summary>
/// Simple collectible scene objects with saveable state.
/// </summary>
public partial class TrashObject : Sprite2D, ISaveable
public partial class TrashObject : Sprite2D, ISaveable // deprecated
{
private bool _collected;