* Shows the infoboxes in the queue (if any). */
| 592 | * Shows the infoboxes in the queue (if any). |
| 593 | */ |
| 594 | void BattlescapeGame::showInfoBoxQueue() |
| 595 | { |
| 596 | for (std::vector<InfoboxOKState*>::iterator i = _infoboxQueue.begin(); i != _infoboxQueue.end(); ++i) |
| 597 | { |
| 598 | _parentState->getGame()->pushState(*i); |
| 599 | } |
| 600 | |
| 601 | _infoboxQueue.clear(); |
| 602 | } |
| 603 | |
| 604 | /** |
| 605 | * Handles the result of non target actions, like priming a grenade. |