| 44 | MessageLogScreen::~MessageLogScreen() = default; |
| 45 | |
| 46 | sp<Control> MessageLogScreen::createMessageRow(EventMessage message, sp<GameState> state, |
| 47 | CityView &cityView) |
| 48 | { |
| 49 | return createMessageRow(message, state, |
| 50 | [message, state, &cityView](Event *) |
| 51 | { |
| 52 | cityView.setScreenCenterTile(message.location); |
| 53 | fw().stageQueueCommand({StageCmd::Command::POP}); |
| 54 | }); |
| 55 | } |
| 56 | |
| 57 | sp<Control> MessageLogScreen::createMessageRow(EventMessage message, sp<GameState> state, |
| 58 | BattleView &battleView) |
nothing calls this directly
no test coverage detected