多轮审查和修复
This commit is contained in:
14
Assets/Scripts/World/Map/IMapService.cs
Normal file
14
Assets/Scripts/World/Map/IMapService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// Assets/Scripts/World/Map/IMapService.cs
|
||||
// 地图服务接口,通过 ServiceLocator 注册与查询。
|
||||
// MapManager 实现此接口;MapPanel 等调用方通过接口解耦。
|
||||
|
||||
namespace BaseGames.World.Map
|
||||
{
|
||||
public interface IMapService
|
||||
{
|
||||
bool IsExplored(string roomId);
|
||||
bool IsMapped(string roomId);
|
||||
void SetMapped(string roomId);
|
||||
MapDatabaseSO Database { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user