public void PickItem(HoldableItem item) { if (!holding) { item.PickUp(this.Entity); holding = item; } }
public bool DropItemOn(Vector2Int position) { if (holding) { if (holding.DropOn(position)) { holding = null; } } return(!holding); }