#include "GridNotifiers.h"
◆ AnyUnitInObjectRangeCheck()
Acore::AnyUnitInObjectRangeCheck::AnyUnitInObjectRangeCheck |
( |
WorldObject const * |
obj, |
|
|
float |
range |
|
) |
| |
|
inline |
WorldObject const * i_obj
Definition: GridNotifiers.h:1047
float i_range
Definition: GridNotifiers.h:1048
◆ operator()()
bool Acore::AnyUnitInObjectRangeCheck::operator() |
( |
Unit * |
u | ) |
|
|
inline |
1040 {
1042 return true;
1043
1044 return false;
1045 }
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool useBoundingRadius=true) const
Definition: Object.cpp:1332
bool IsAlive() const
Definition: Unit.h:1654
References i_obj, i_range, Unit::IsAlive(), and WorldObject::IsWithinDistInMap().
◆ i_obj
WorldObject const* Acore::AnyUnitInObjectRangeCheck::i_obj |
|
private |
◆ i_range
float Acore::AnyUnitInObjectRangeCheck::i_range |
|
private |