Files
2025TapTapGameJam/Assets/Script/Gameplay/Interface/ICharacter.cs
2025-10-15 21:31:13 +08:00

28 lines
792 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 System;
using UnityEngine;
using Gameplay;
using System.Collections.Generic;
namespace Share
{
/// <summary>
/// 角色接口可受伤害、治疗和添加Buff、发生战斗
/// 拥有卡牌书
/// </summary>
public interface ICharacter
{
// public int MaxHealth { get; }
// public int CurrentHealth { get; }
// public CardBook CardBook { get; }
// public List<Card> Cards { get; }
public bool IsFlight { get; }
public bool IsDead { get; }
public void TakeDamage(int damage);
public void Heal(int heal);
public void StartCombat();
public void EndFlight();
public bool HasCardsLeft();
public Card GetNextCard();
public void InitializeDeckCycle();
}
}