22 lines
572 B
C#
22 lines
572 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using BITKit;
|
|
using UnityEngine;
|
|
using UnityEngine.Experimental.Audio;
|
|
|
|
namespace BITFALL.Items
|
|
{
|
|
public interface IEntitySwapItem
|
|
{
|
|
bool TryGetCurrentContainer(out IBasicItemContainer container);
|
|
event Func<IBasicItemContainer, bool> OpenSwapFactory;
|
|
event Action<IBasicItemContainer> OnSwapOpened;
|
|
event Action<IBasicItemContainer> OnSwapClosed;
|
|
public bool Add(IBasicItem item);
|
|
public bool Remove(IBasicItem item);
|
|
bool Open(IBasicItemContainer container);
|
|
bool Close();
|
|
}
|
|
}
|