/// <summary> /// Provide the player with the current state of this tile. /// </summary> /// <param name="player"></param> public void UpdateState(Player player) { player.UpdateTile(GetData(player)); if (unit != null) { player.UpdateUnit(unit.GetData()); } }
/// <summary> /// Reveal this tile to a player. /// </summary> /// <param name="player"></param> public void Reveal(Player player) { player.UpdateTile(GetData(player)); }