🎨 Replaced pickup animation group call with event

This commit is contained in:
2025-10-31 12:36:08 +01:00
parent 6194988bf0
commit b54f784d51
7 changed files with 30 additions and 24 deletions
@@ -1,13 +0,0 @@
using Babushka.scripts.CSharp.Common.Animation;
using Godot;
namespace Babushka.scripts.CSharp.Common.Items;
public partial class NonInventoryPickup : Node2D
{
public void PlayPickupAnimation()
{
// todo: replace with EventBus implementation as soon as this is possible
GetTree().CallGroup("Pickup", VesnaAnimations.MethodName.PlayPickUpAnimation);
}
}
@@ -1 +0,0 @@
uid://dkk1vjijvgrd7