체력바 추가

플레이어는 상시 표시, 나머지는 체력 변경 시 표시
This commit is contained in:
2026-02-25 15:15:29 +09:00
parent f3923079a4
commit 17b3cf6746
22 changed files with 369 additions and 147 deletions

View File

@@ -0,0 +1,24 @@
namespace Northbound
{
/// <summary>
/// 체력 정보를 제공하는 인터페이스
/// Building, Player, Enemy 등 체력바가 필요한 모든 유닛이 구현
/// </summary>
public interface IHealthProvider
{
/// <summary>
/// 현재 체력
/// </summary>
int GetCurrentHealth();
/// <summary>
/// 최대 체력
/// </summary>
int GetMaxHealth();
/// <summary>
/// 체력 비율 (0.0 ~ 1.0)
/// </summary>
float GetHealthPercentage();
}
}