* Check if this unit is in the exit area. * @param stt Type of exit tile to check for. * @return Is in the exit area? */
| 1834 | * @return Is in the exit area? |
| 1835 | */ |
| 1836 | bool BattleUnit::isInExitArea(SpecialTileType stt) const |
| 1837 | { |
| 1838 | return _tile && _tile->getMapData(MapData::O_FLOOR) && (_tile->getMapData(MapData::O_FLOOR)->getSpecialType() == stt); |
| 1839 | } |
| 1840 | |
| 1841 | /** |
| 1842 | * Gets the unit height taking into account kneeling/standing. |
no test coverage detected