1
This commit is contained in:
27
Assets/BITFALL/Entities/Equipment/IEntityEquipment.cs
Normal file
27
Assets/BITFALL/Entities/Equipment/IEntityEquipment.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit;
|
||||
using BITKit.Core.Entites;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BITFALL.Entities.Equipment
|
||||
{
|
||||
public interface IEntityEquipment
|
||||
{
|
||||
event Action<IBasicItem> OnEquip;
|
||||
event Action<IBasicItem> OnDeEquip;
|
||||
bool IsSupportItem(IBasicItem item);
|
||||
void EntryEquip(int index);
|
||||
void EntryEquip(Func<string,bool> item);
|
||||
void EntryEquip(IBasicItem item);
|
||||
}
|
||||
public interface IEquipBase : IEntryElement, IAwake, IStart, IUpdate
|
||||
{
|
||||
string AddressablePath { get; }
|
||||
IEntity Entity { get; set; }
|
||||
IBasicItem Item { get; set; }
|
||||
bool IsSupportItem(IBasicItem item);
|
||||
void PlayAudio(string name);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user