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

Public Member Functions

 OrmorokTanglerPredicate (Unit *unit)
 
bool operator() (WorldObject *object) const
 

Private Attributes

Unitme
 

Constructor & Destructor Documentation

OrmorokTanglerPredicate::OrmorokTanglerPredicate ( Unit unit)
inline
53 : me(unit) { }
Unit * me
Definition: boss_ormorok.cpp:61

Member Function Documentation

bool OrmorokTanglerPredicate::operator() ( WorldObject object) const
inline
56  {
57  return object->GetDistance2d(me) >= 5.0f;
58  }
Unit * me
Definition: boss_ormorok.cpp:61

Member Data Documentation

Unit* OrmorokTanglerPredicate::me
private

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