| 412 | } |
| 413 | |
| 414 | bool TrapDoor::permitsVision(Tile* tile) |
| 415 | { |
| 416 | TrapTileData* trapTileData = static_cast<TrapTileData*>(mTileData.at(tile)); |
| 417 | if (!trapTileData->isActivated()) |
| 418 | return true; |
| 419 | |
| 420 | return !mIsLockedState; |
| 421 | } |
| 422 | |
| 423 | double TrapDoor::getCreatureSpeed(const Creature* creature, Tile* tile) const |
| 424 | { |
nothing calls this directly
no test coverage detected