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

26 lines
749 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System;
public interface ISlot
{
int Number { get; set; }
EquippableItem Item { get; set; }
// enum typ dziecka
// A : enum A
// B : enum B
event Action<ItemSlot> OnBeginDragEvent;
event Action<ItemSlot> OnEndDragEvent;
event Action<ItemSlot> OnDragEvent;
event Action<ItemSlot> OnDropEvent;
event Action<ItemSlot, PointerEventData> OnPointerClickEvent;
//(B)Islot // as B
public void SetupSlot(int _number, EquippableItem _item, WarehousePanelController _PanelController);
public void SetItem(EquippableItem _item);
bool CanReceiveItem(Item item);
}