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

Public Member Functions

 OrientationCheck (Unit *_caster)
 
bool operator() (WorldObject *object)
 

Private Attributes

Unitcaster
 

Constructor & Destructor Documentation

OrientationCheck::OrientationCheck ( Unit _caster)
inlineexplicit
115 : caster(_caster) { }
Unit * caster
Definition: boss_argent_challenge.cpp:122

Member Function Documentation

bool OrientationCheck::operator() ( WorldObject object)
inline
117  {
118  return !object->isInFront(caster, 2.5f) || !object->IsWithinDist(caster, 40.0f);
119  }
Unit * caster
Definition: boss_argent_challenge.cpp:122

Member Data Documentation

Unit* OrientationCheck::caster
private

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