OpenXcom
1.0
Open-source clone of the original X-Com
|
Functor that attempt to detect an XCOM base. More...
Public Member Functions | |
DetectXCOMBase (const Base &base, int difficulty) | |
Create a detector for the given base. | |
bool | operator() (const Ufo *ufo) const |
Attempt detection. More... | |
Functor that attempt to detect an XCOM base.
bool OpenXcom::DetectXCOMBase::operator() | ( | const Ufo * | ufo | ) | const |
Attempt detection.
Only UFOs within detection range of the base have a chance to detect it.
ufo | Pointer to the UFO attempting detection. |