17 lines
322 B
C#
17 lines
322 B
C#
using System;
|
|
using System.Linq;
|
|
using UnityEngine;
|
|
using UnityEngine.UIElements;
|
|
|
|
public class ResourceStorage : InventoryHolder
|
|
{
|
|
private readonly IInventory _inventory;
|
|
|
|
public override IInventory Inventory => _inventory;
|
|
|
|
public ResourceStorage()
|
|
{
|
|
_inventory = new VirtualInventory();
|
|
}
|
|
}
|