* Starts the timerMoreUnit. * @param action A pointer to an Action. */
| 391 | * @param action A pointer to an Action. |
| 392 | */ |
| 393 | void ManufactureInfoState::moreUnitPress(Action * action) |
| 394 | { |
| 395 | if (action->getDetails()->button.button == SDL_BUTTON_LEFT && _production->getAmountTotal() < std::numeric_limits<int>::max()) |
| 396 | _timerMoreUnit->start(); |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * Stops the timerMoreUnit. |
nothing calls this directly
no test coverage detected