OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::DetectXCOMBase Class Reference

Functor that attempt to detect an XCOM base. More...

Inheritance diagram for OpenXcom::DetectXCOMBase:

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...
 

Detailed Description

Functor that attempt to detect an XCOM base.

Member Function Documentation

bool OpenXcom::DetectXCOMBase::operator() ( const Ufo ufo) const

Attempt detection.

Only UFOs within detection range of the base have a chance to detect it.

Parameters
ufoPointer to the UFO attempting detection.
Returns
If the base is detected by ufo.

The documentation for this class was generated from the following file: