1
This commit is contained in:
27
Unity/Scripts/Buff/IBuff.cs
Normal file
27
Unity/Scripts/Buff/IBuff.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
namespace BITKit
|
||||
{
|
||||
public class SimpleBuff : IBuff
|
||||
{
|
||||
public T GetBuff<T>()
|
||||
{
|
||||
return default;
|
||||
}
|
||||
public void AddBuffListener<T>(string type, Func<T> func)
|
||||
{
|
||||
|
||||
}
|
||||
public void RemoveBuffListener<T>(string type, Func<T> func)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
public interface IBuff
|
||||
{
|
||||
T GetBuff<T>();
|
||||
void AddBuffListener<T>(string type, Func<T> func);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user