feat(): 大量更新
This commit is contained in:
28
Assets/Script/Gameplay/Interface/ICharacter.cs
Normal file
28
Assets/Script/Gameplay/Interface/ICharacter.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user