| 1768 | } |
| 1769 | |
| 1770 | bool Tile::permitsVision() |
| 1771 | { |
| 1772 | if(isFullTile()) |
| 1773 | return false; |
| 1774 | |
| 1775 | if((getCoveringBuilding() != nullptr) && |
| 1776 | (!getCoveringBuilding()->permitsVision(this))) |
| 1777 | { |
| 1778 | return false; |
| 1779 | } |
| 1780 | |
| 1781 | return true; |
| 1782 | } |
| 1783 | |
| 1784 | void Tile::fireTileSound(TileSound sound) |
| 1785 | { |