* Remove a ResearchProject from base * @param project the project to remove */
| 986 | * @param project the project to remove |
| 987 | */ |
| 988 | void Base::removeResearch(ResearchProject * project) |
| 989 | { |
| 990 | _scientists += project->getAssigned(); |
| 991 | std::vector<ResearchProject *>::iterator iter = std::find (_research.begin (), _research.end (), project); |
| 992 | if(iter != _research.end ()) |
| 993 | { |
| 994 | _research.erase(iter); |
| 995 | } |
| 996 | } |
| 997 | |
| 998 | /** |
| 999 | * Remove a Production from the Base |
no test coverage detected