TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
RotfaceHeightCheck Struct Reference

Public Member Functions

 RotfaceHeightCheck (Creature *rotface)
 
bool operator() (Creature *stalker) const
 

Private Attributes

Creature_rotface
 

Constructor & Destructor Documentation

RotfaceHeightCheck::RotfaceHeightCheck ( Creature rotface)
inline
204 : _rotface(rotface) { }
Creature * _rotface
Definition: boss_professor_putricide.cpp:212

Member Function Documentation

bool RotfaceHeightCheck::operator() ( Creature stalker) const
inline
207  {
208  return stalker->GetPositionZ() < _rotface->GetPositionZ() + 5.0f;
209  }
float GetPositionZ() const
Definition: Position.h:106
Creature * _rotface
Definition: boss_professor_putricide.cpp:212

+ Here is the call graph for this function:

Member Data Documentation

Creature* RotfaceHeightCheck::_rotface
private

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