* Can the tile be auto-bulldozed?. * @param tileValue Value of the tile. * @return \c True if the tile can be auto-bulldozed, else \c false. */
| 525 | * @return \c True if the tile can be auto-bulldozed, else \c false. |
| 526 | */ |
| 527 | bool Micropolis::tally(short tileValue) |
| 528 | { |
| 529 | return (tileValue >= FIRSTRIVEDGE && tileValue <= LASTRUBBLE) || |
| 530 | (tileValue >= POWERBASE + 2 && tileValue <= POWERBASE + 12) || |
| 531 | (tileValue >= TINYEXP && tileValue <= LASTTINYEXP + 2); |
| 532 | } |
| 533 | |
| 534 | |
| 535 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected