using UnityEngine; namespace EerieVillage.Map.Data { /// /// BT13-Dev-Map Phase 2-A — SpawnPoint 영역 설정 SOT. /// spec §8·§9 정합. PD 결정 §15-5 지면만·§15-7 재-spawn X·§15-8 Enemy_M00N 직접. /// [CreateAssetMenu(menuName = "EerieVillage/Map/SpawnPoint Config", fileName = "SpawnPointConfig")] public class SpawnPointConfig : ScriptableObject { [Header("거점 배치 영역 — PD 결정 §15-5 지면만")] [Range(0f, 1f)] public float spawnDensity = 0.4f; public int minSpawnSpacingTiles = 12; public int maxSpawnPerMap = 16; [Header("Spawn 영역 — 거점 ±X Tile random spawn")] [Range(0f, 2f)] public float spawnRadiusX = 0.5f; [Header("동시 spawn 상한 — PD §15-7 OVERRIDE (2026-05-18): timer·count 옵션")] public int initialSpawnCount = 1; public int maxConcurrent = 1; [Header("Enemy 재-spawn — PD §15-7 OVERRIDE (2026-05-18)")] [Tooltip("Enemy 사망 후 재-spawn 대기 시간 (초) — 0 이하 시 재-spawn X")] public float respawnTimer = 5f; [Tooltip("최대 재-spawn 횟수 — -1: 무제한·0: 재-spawn X·N: N회")] public int respawnMaxCount = -1; [Header("Start·Goal margin")] public int startMarginTiles = 8; // Start ±8 Tile 영역 거점 X public int goalMarginTiles = 8; // Goal ±8 Tile 영역 거점 X [Header("거점 후보 영역 — PD §15-5 OVERRIDE (2026-05-18): 공중 발판 허용")] [Tooltip("지면 평탄 영역 폭 (Tile) — 본 폭 이상 연속 지면 영역만 거점 후보")] public int minGroundFlatRunTiles = 3; [Tooltip("§15-5 OVERRIDE — 공중 발판 SpawnPoint 허용 (true: 발판 폭 ≥3 Tile 영역 거점 후보)")] public bool allowFloatingSpawnPoints = true; } }