27 lines
539 B
C#
27 lines
539 B
C#
|
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);
|
||
|
}
|
||
|
}
|