Added last farming timelines and fixed some minor issues
This commit is contained in:
@@ -19,6 +19,12 @@ public partial class Player2D : CharacterBody2D
|
||||
private Vector2 _lastDirection = Vector2.Zero;
|
||||
private InventoryManager _inventoryManager;
|
||||
|
||||
public bool InputEnabled
|
||||
{
|
||||
get => _canHandleInput;
|
||||
set => _canHandleInput = value;
|
||||
}
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
InventoryManager.Instance.playerInventory.InventoryContentsChanged += HandleNewItemInInventory;
|
||||
|
||||
Reference in New Issue
Block a user