Throw several bombs onto the city. */
| 231 | |
| 232 | /** Throw several bombs onto the city. */ |
| 233 | void Micropolis::makeFireBombs() |
| 234 | { |
| 235 | int count = 2 + (getRandom16() & 1); |
| 236 | |
| 237 | while (count > 0) { |
| 238 | fireBomb(); |
| 239 | count--; |
| 240 | } |
| 241 | |
| 242 | // TODO: Schedule periodic fire bombs over time, every few ticks. |
| 243 | } |
| 244 | |
| 245 | |
| 246 | /** Change random tiles to fire or dirt as result of the earthquake */ |
nothing calls this directly
no outgoing calls
no test coverage detected