MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / AddGoal

Method AddGoal

Source/Campaign.hpp:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void AddGoal(ePhaseObjective pGoal) {
102
103 if (std::find(mGoals.begin(), mGoals.end(), pGoal) == mGoals.end())
104 mGoals.push_back(pGoal);
105 }
106
107 void RemoveGoal(ePhaseObjective pGoal) {
108

Callers

nothing calls this directly

Calls 4

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected