MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / isComplete

Method isComplete

game/state/city/research.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18{
19
20bool ResearchTopic::isComplete() const
21{
22 return (this->type != ResearchTopic::Type::Engineering) &&
23 (this->man_hours_progress >= this->man_hours);
24}
25
26void ResearchTopic::forceComplete()
27{

Callers 7

satisfiedMethod · 0.80
resortTopicListMethod · 0.80
updateMethod · 0.80
eventOccurredMethod · 0.80
eventOccurredMethod · 0.80
beginMethod · 0.80
populateResearchListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected