* Displays the list of possible ResearchProjects. * @param action Pointer to an action. */
| 153 | * @param action Pointer to an action. |
| 154 | */ |
| 155 | void ResearchState::onSelectProject(Action *) |
| 156 | { |
| 157 | const std::vector<ResearchProject *> & baseProjects(_base->getResearch()); |
| 158 | _game->pushState(new ResearchInfoState(_game, _base, baseProjects[_lstResearch->getSelectedRow()])); |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * Updates the research list |
nothing calls this directly
no test coverage detected