Scriptum/Assets/Scripts/REFACTORING/Application/Panel/Shop/ShopDataListManager.cs
kabix09 88ab6bcee7 Add Shop module
Add Shop panel & saving module
2022-12-19 03:34:45 +01:00

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
}