MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / permitsVision

Method permitsVision

source/entities/Tile.cpp:1770–1782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1768}
1769
1770bool 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
1784void Tile::fireTileSound(TileSound sound)
1785{

Callers 1

visibleTilesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected