* Sets all kinds of flags. * @param isUfoDoor True if this is a ufo door. * @param stopLOS True if this stops line of sight. * @param isNoFloor True if this is a floor. * @param bigWall True if this is a bigWall. * @param isGravLift True if this is a grav lift. * @param isDoor True if this is a normal door. * @param blockFire True if this blocks fire. * @param blockSmoke True if this block
| 148 | * @param baseModule True if this is a base module item. |
| 149 | */ |
| 150 | void MapData::setFlags(bool isUfoDoor, bool stopLOS, bool isNoFloor, int bigWall, bool isGravLift, bool isDoor, bool blockFire, bool blockSmoke, bool baseModule) |
| 151 | { |
| 152 | _isUfoDoor = isUfoDoor; |
| 153 | _stopLOS = stopLOS; |
| 154 | _isNoFloor = isNoFloor; |
| 155 | _bigWall = bigWall; |
| 156 | _isGravLift = isGravLift; |
| 157 | _isDoor = isDoor; |
| 158 | _blockFire = blockFire; |
| 159 | _blockSmoke = blockSmoke; |
| 160 | _baseModule = baseModule; |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * Gets the amount of blockage of a certain type. |
no outgoing calls
no test coverage detected