| 1678 | } |
| 1679 | |
| 1680 | bool 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 | |
| 1689 | Trap* Tile::getCoveringTrap() const |
| 1690 | { |
no test coverage detected