28 lines
796 B
C#
28 lines
796 B
C#
using System;
|
||
using UnityEngine;
|
||
using Gameplay;
|
||
using System.Collections.Generic;
|
||
|
||
namespace Interface
|
||
{
|
||
/// <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();
|
||
}
|
||
} |