#include "PointMovementGenerator.h"
◆ EffectMovementGenerator()
EffectMovementGenerator::EffectMovementGenerator |
( |
uint32 |
Id | ) |
|
|
inlineexplicit |
uint32 m_Id
Definition: PointMovementGenerator.h:82
◆ Finalize()
void EffectMovementGenerator::Finalize |
( |
Unit * |
unit | ) |
|
|
overridevirtual |
Implements MovementGenerator.
233{
235 return;
236
239
240
241
242
243
244
245
246
247
248
251}
@ EFFECT_MOTION_TYPE
Definition: MotionMaster.h:54
@ MOVEMENTFLAG_FALLING
Definition: UnitDefines.h:356
virtual void MovementInform(uint32, uint32)
Definition: CreatureAI.h:156
CreatureAI * AI() const
Definition: Creature.h:143
bool IsCreature() const
Definition: Object.h:201
Creature * ToCreature()
Definition: Object.h:202
Movement::MoveSpline * movespline
Definition: Unit.h:1818
bool HasUnitMovementFlag(uint32 f) const
Definition: Unit.h:1613
void RemoveUnitMovementFlag(uint32 f)
Definition: Unit.h:1612
bool isFalling() const
Definition: MoveSpline.h:118
References Creature::AI(), EFFECT_MOTION_TYPE, Unit::HasUnitMovementFlag(), Object::IsCreature(), Movement::MoveSpline::isFalling(), m_Id, MOVEMENTFLAG_FALLING, CreatureAI::MovementInform(), Unit::movespline, Unit::RemoveUnitMovementFlag(), and Object::ToCreature().
◆ GetMovementGeneratorType()
◆ Initialize()
void EffectMovementGenerator::Initialize |
( |
Unit * |
| ) |
|
|
inlineoverridevirtual |
◆ Reset()
void EffectMovementGenerator::Reset |
( |
Unit * |
| ) |
|
|
inlineoverridevirtual |
◆ Update()
bool EffectMovementGenerator::Update |
( |
Unit * |
unit, |
|
|
uint32 |
|
|
) |
| |
|
overridevirtual |
◆ m_Id
uint32 EffectMovementGenerator::m_Id |
|
private |