using UnityEngine; using System.Collections.Generic; [System.Serializable] public class PlayerPlacementData { public PlayerPawn pawn; } [System.Serializable] public class PlayerTileData { public int playerCount; public Transform commonPlacementTransform; public Dictionary playerPawns; } public class Tile : MonoBehaviour { [SerializeField] protected bool isSafeZone = false; public bool IsSafeZone => isSafeZone; public Vector3 CenterPlacementPosition => transform.position; protected int lastOccupiedIndex = 0; public PlayerPawn PlayerPawn // Change implementation { get; private set; } public virtual void InitPlayerPawn(PlayerPawn playerPawn, PlayerTypes playerType) { PlayerPawn = playerPawn; } }