전장의 안개 구현
This commit is contained in:
30
Assets/Scripts/IVisionProvider.cs
Normal file
30
Assets/Scripts/IVisionProvider.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Northbound
|
||||
{
|
||||
/// <summary>
|
||||
/// 시야를 제공하는 객체 인터페이스 (플레이어, 건물 등)
|
||||
/// </summary>
|
||||
public interface IVisionProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// 소유자 클라이언트 ID
|
||||
/// </summary>
|
||||
ulong GetOwnerId();
|
||||
|
||||
/// <summary>
|
||||
/// 시야 범위
|
||||
/// </summary>
|
||||
float GetVisionRange();
|
||||
|
||||
/// <summary>
|
||||
/// Transform
|
||||
/// </summary>
|
||||
Transform GetTransform();
|
||||
|
||||
/// <summary>
|
||||
/// 현재 활성화 상태인지
|
||||
/// </summary>
|
||||
bool IsActive();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user