Fix labels

This commit is contained in:
2024-09-08 15:42:08 -07:00
parent a47d1306b9
commit 1dfc61f003
242 changed files with 5502 additions and 383 deletions

View File

@@ -1,8 +1,5 @@
using Chickensoft.AutoInject;
using Chickensoft.GodotNodeInterfaces;
using Chickensoft.Introspection;
using Godot;
using System.Linq;
namespace GameJamDungeon
{
@@ -13,17 +10,5 @@ namespace GameJamDungeon
public InventoryItemInfo Info { get; }
}
[Meta(typeof(IAutoNode))]
public partial class InventoryItem : Node3D, IInventoryItem
{
public override void _Notification(int what) => this.Notify(what);
[Dependency] public IGameRepo GameRepo => this.DependOn<IGameRepo>();
[Node] public Area3D Pickup { get; set; } = default!;
[Node] public Sprite3D Sprite { get; set; } = default!;
public InventoryItemInfo Info { get; set; } = new InventoryItemInfo();
}
public interface IEquippable;
}