TrinityCore
Loading...
Searching...
No Matches
LunaticGazeTargetSelector Class Reference

Public Member Functions

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

Private Attributes

Unit_caster
 

Detailed Description

Definition at line 2941 of file boss_yogg_saron.cpp.

Constructor & Destructor Documentation

◆ LunaticGazeTargetSelector()

LunaticGazeTargetSelector::LunaticGazeTargetSelector ( Unit caster)
inline

Definition at line 2944 of file boss_yogg_saron.cpp.

2944: _caster(caster) { }

Member Function Documentation

◆ operator()()

bool LunaticGazeTargetSelector::operator() ( WorldObject object)
inline

Definition at line 2946 of file boss_yogg_saron.cpp.

2947 {
2948 return !object->HasInArc(static_cast<float>(M_PI), _caster);
2949 }
#define M_PI
Definition: Common.h:115

Member Data Documentation

◆ _caster

Unit* LunaticGazeTargetSelector::_caster
private

Definition at line 2952 of file boss_yogg_saron.cpp.


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