Files
2025TapTapGameJam/Assets/Script/Share/ICharacter.cs

15 lines
355 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);
}
}