| 684 | } |
| 685 | |
| 686 | int ControlGenerator::getFontHeight(GameState &state) |
| 687 | { |
| 688 | if (!singleton.initialised) |
| 689 | { |
| 690 | singleton.init(state); |
| 691 | } |
| 692 | return singleton.labelFont->getFontHeight(); |
| 693 | } |
| 694 | |
| 695 | sp<Control> ControlGenerator::createAgentControl(GameState &state, sp<Agent> a, |
| 696 | UnitSelectionState forcedSelectionState, |
no test coverage detected