using Godot; using System.Collections.Generic; namespace SupaLidlGame.UI.Inventory; public partial class InventoryMenu : BaseMenu, IModal { private Items.Inventory _source; public Items.Inventory Source { get => _source; set { _source = value; _inventoryGrid.Source = value; } } public override void ShowModal() { Show(); var animPlayer = GetNode("%AnimationPlayer"); animPlayer.Play("open"); } public override void HideModal() { Hide(); _source = null; } public override void _Ready() { base._Ready(); _focusButtonOnSelect = GetNode