Fix labels
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user