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

Public Member Functions

 TwilightCutterSelector (Unit *caster, Unit *target)
 
bool operator() (WorldObject *unit)
 

Private Attributes

Unit_caster
 
Unit_channelTarget
 

Constructor & Destructor Documentation

TwilightCutterSelector::TwilightCutterSelector ( Unit caster,
Unit target 
)
inline
1676 : _caster(caster), _channelTarget(target) { }
Unit * _caster
Definition: boss_halion.cpp:1684
Unit * _channelTarget
Definition: boss_halion.cpp:1685

Member Function Documentation

bool TwilightCutterSelector::operator() ( WorldObject unit)
inline
1679  {
1680  return !unit->IsInBetween(_caster, _channelTarget, 4.0f);
1681  }
Unit * _caster
Definition: boss_halion.cpp:1684
bool IsInBetween(WorldObject const *obj1, WorldObject const *obj2, float size=0) const
Definition: Object.cpp:1769
Unit * _channelTarget
Definition: boss_halion.cpp:1685

+ Here is the call graph for this function:

Member Data Documentation

Unit* TwilightCutterSelector::_caster
private
Unit* TwilightCutterSelector::_channelTarget
private

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