TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Public Member Functions
|
Private Attributes
|
List of all members
SkarvaldChargePredicate Class Reference
Public Member Functions
SkarvaldChargePredicate
(
Unit
*unit)
bool
operator()
(
WorldObject
*target)
const
Private Attributes
Unit
*
_me
Constructor & Destructor Documentation
SkarvaldChargePredicate::SkarvaldChargePredicate
(
Unit
*
unit
)
inline
81
:
_me
(unit) { }
SkarvaldChargePredicate::_me
Unit * _me
Definition:
boss_skarvald_dalronn.cpp:89
Member Function Documentation
bool
SkarvaldChargePredicate::operator()
(
WorldObject
*
target
)
const
inline
84
{
85
return
target->
GetDistance2d
(
_me
) >= 5.0f && target->
GetDistance2d
(
_me
) <= 30.0f;
86
}
SkarvaldChargePredicate::_me
Unit * _me
Definition:
boss_skarvald_dalronn.cpp:89
WorldObject::GetDistance2d
float GetDistance2d(WorldObject const *obj) const
Definition:
Object.cpp:1612
Here is the call graph for this function:
Member Data Documentation
Unit
* SkarvaldChargePredicate::_me
private
The documentation for this class was generated from the following file:
src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/
boss_skarvald_dalronn.cpp
Generated on Tue Apr 5 2016 20:23:11 for TrinityCore by
1.8.8