31 lines
767 B
C#
31 lines
767 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class ShopDataListManager : DataListManager<Shop> // or maybe EquippableItem - but its get conflicts...
|
||
|
{
|
||
|
[SerializeField] protected new ShopUIManager uiManager;
|
||
|
|
||
|
public new DataListManager<Shop> SetUiManager(ref ShopUIManager _uiManager)
|
||
|
{
|
||
|
uiManager = _uiManager;
|
||
|
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// Add shop to list
|
||
|
/// </summary>
|
||
|
/// <param name="newElement"></param>
|
||
|
public override void AddElementToList(Shop newElement)
|
||
|
{
|
||
|
Elements.Add(newElement);
|
||
|
}
|
||
|
|
||
|
public override void RemoveElementFromList(Shop element)
|
||
|
{
|
||
|
throw new System.NotImplementedException();
|
||
|
}
|
||
|
|
||
|
//public void AddElement
|
||
|
}
|