Scriptum/Assets/Scripts/REFACTORING/Application/Panel/Shop/ShopDataListManager.cs

31 lines
767 B
C#
Raw Normal View History

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
}