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

Method checkCoveringRoomType

source/entities/Tile.cpp:1680–1687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1678}
1679
1680bool Tile::checkCoveringRoomType(RoomType type) const
1681{
1682 Room* coveringRoom = getCoveringRoom();
1683 if(coveringRoom == nullptr)
1684 return false;
1685
1686 return (coveringRoom->getType() == type);
1687}
1688
1689Trap* Tile::getCoveringTrap() const
1690{

Callers 1

handleSearchFoodMethod · 0.80

Calls 1

getTypeMethod · 0.45

Tested by

no test coverage detected