15 lines
355 B
C#
15 lines
355 B
C#
using UnityEngine;
|
||
|
||
namespace Share
|
||
{
|
||
/// <summary>
|
||
/// 角色接口,可受伤害、治疗和添加Buff
|
||
/// </summary>
|
||
public interface ICharacter
|
||
{
|
||
public void TakeDamage(int damage);
|
||
public void Heal(int heal);
|
||
public void AddBuff(string buffName, int duration);
|
||
public void Draw(int count);
|
||
}
|
||
} |