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

Public Member Functions

 SkarvaldChargePredicate (Unit *unit)
 
bool operator() (WorldObject *target) const
 

Private Attributes

Unit * _me
 

Detailed Description

Definition at line 91 of file boss_skarvald_dalronn.cpp.

Constructor & Destructor Documentation

◆ SkarvaldChargePredicate()

SkarvaldChargePredicate::SkarvaldChargePredicate ( Unit *  unit)
inline

Definition at line 94 of file boss_skarvald_dalronn.cpp.

Member Function Documentation

◆ operator()()

bool SkarvaldChargePredicate::operator() ( WorldObject *  target) const
inline

Definition at line 96 of file boss_skarvald_dalronn.cpp.

References _me, and WorldObject::GetDistance2d().

Member Data Documentation

◆ _me

Unit* SkarvaldChargePredicate::_me
private

Definition at line 102 of file boss_skarvald_dalronn.cpp.

Referenced by operator()().


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