| 336 | } |
| 337 | |
| 338 | void BattleItem::tryCollapse() |
| 339 | { |
| 340 | if (falling) |
| 341 | { |
| 342 | return; |
| 343 | } |
| 344 | if (!findSupport()) |
| 345 | { |
| 346 | ticksUntilCollapse = TICKS_MULTIPLIER; |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | void BattleItem::collapse() { falling = true; } |
| 351 |
no outgoing calls
no test coverage detected