TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LunaticGazeTargetSelector Class Reference

Public Member Functions

 LunaticGazeTargetSelector (Unit *caster)
 
bool operator() (WorldObject *object)
 

Private Attributes

Unit_caster
 

Constructor & Destructor Documentation

LunaticGazeTargetSelector::LunaticGazeTargetSelector ( Unit caster)
inline
2954 : _caster(caster) { }
Unit * _caster
Definition: boss_yogg_saron.cpp:2962

Member Function Documentation

bool LunaticGazeTargetSelector::operator() ( WorldObject object)
inline
2957  {
2958  return !object->HasInArc(static_cast<float>(M_PI), _caster);
2959  }
#define M_PI
Definition: Common.h:163
Unit * _caster
Definition: boss_yogg_saron.cpp:2962

Member Data Documentation

Unit* LunaticGazeTargetSelector::_caster
private

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