feat(): 大量更新

This commit is contained in:
2025-10-15 21:31:13 +08:00
parent 546f08c53a
commit 668bfe12eb
178 changed files with 11318 additions and 446 deletions

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

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a0f41a6a18dd4801a9d6ba995cf09376
timeCreated: 1760420819

View File

@@ -0,0 +1,9 @@
using UnityEngine;
namespace Share
{
public interface IInteractable
{
string GetInteractPrompt(); // 返回提示文字例如“按E打开门”
void Interact(GameObject interactor); // 当玩家交互时触发
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3bb60830b6e14df78b72c49d9250fa75
timeCreated: 1760444920