MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / operator()

Method operator()

src/Savegame/AlienMission.cpp:148–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146public:
147 FindMarkedXCOMBase(const RuleRegion &region) : _region(region) { /* Empty by design. */ }
148 bool operator()(const Base *base) const { return (_region.insideRegion(base->getLongitude(), base->getLatitude()) && base->getRetaliationTarget()); }
149private:
150 const RuleRegion &_region;
151};

Callers

nothing calls this directly

Calls 4

insideRegionMethod · 0.80
getRetaliationTargetMethod · 0.80
getLongitudeMethod · 0.45
getLatitudeMethod · 0.45

Tested by

no test coverage detected