#include "MovementGenerator.h"
◆ ~MovementGenerator()
MovementGenerator::~MovementGenerator |
( |
| ) |
|
|
virtual |
◆ Finalize()
virtual void MovementGenerator::Finalize |
( |
Unit * |
| ) |
|
|
pure virtual |
Implemented in TimedFleeingMovementGenerator, AssistanceMovementGenerator, IdleMovementGenerator, RotateMovementGenerator, DistractMovementGenerator, AssistanceDistractMovementGenerator, EffectMovementGenerator, MovementGeneratorMedium< T, D >, MovementGeneratorMedium< Creature, PointMovementGenerator< Creature > >, MovementGeneratorMedium< T, ChaseMovementGenerator< T > >, MovementGeneratorMedium< T, ConfusedMovementGenerator< T > >, MovementGeneratorMedium< T, EscortMovementGenerator< T > >, MovementGeneratorMedium< T, FleeingMovementGenerator< T > >, MovementGeneratorMedium< Player, FlightPathMovementGenerator >, MovementGeneratorMedium< T, FollowMovementGenerator< T > >, MovementGeneratorMedium< Creature, HomeMovementGenerator< Creature > >, MovementGeneratorMedium< T, PointMovementGenerator< T > >, MovementGeneratorMedium< T, RandomMovementGenerator< T > >, MovementGeneratorMedium< Creature, FleeingMovementGenerator< Creature > >, and MovementGeneratorMedium< Creature, WaypointMovementGenerator< Creature > >.
Referenced by MotionMaster::DirectDelete().
◆ GetMovementGeneratorType()
Implemented in ConfusedMovementGenerator< T >, EscortMovementGenerator< T >, TimedFleeingMovementGenerator, HomeMovementGenerator< Creature >, PointMovementGenerator< T >, PointMovementGenerator< Creature >, AssistanceMovementGenerator, RandomMovementGenerator< T >, ChaseMovementGenerator< T >, FollowMovementGenerator< T >, WaypointMovementGenerator< Creature >, FleeingMovementGenerator< T >, FleeingMovementGenerator< Creature >, IdleMovementGenerator, RotateMovementGenerator, DistractMovementGenerator, AssistanceDistractMovementGenerator, EffectMovementGenerator, and FlightPathMovementGenerator.
Referenced by MotionMaster::DelayedDelete(), MotionMaster::GetCurrentMovementGeneratorType(), MotionMaster::GetMotionSlotType(), and misc_commandscript::HandleMovegensCommand().
◆ GetResetPosition()
virtual bool MovementGenerator::GetResetPosition |
( |
float & |
, |
|
|
float & |
, |
|
|
float & |
|
|
) |
| |
|
inlinevirtual |
◆ GetSplineId()
virtual uint32 MovementGenerator::GetSplineId |
( |
| ) |
const |
|
inlinevirtual |
◆ Initialize()
virtual void MovementGenerator::Initialize |
( |
Unit * |
| ) |
|
|
pure virtual |
Implemented in IdleMovementGenerator, RotateMovementGenerator, DistractMovementGenerator, EffectMovementGenerator, MovementGeneratorMedium< T, D >, MovementGeneratorMedium< Creature, PointMovementGenerator< Creature > >, MovementGeneratorMedium< T, ChaseMovementGenerator< T > >, MovementGeneratorMedium< T, ConfusedMovementGenerator< T > >, MovementGeneratorMedium< T, EscortMovementGenerator< T > >, MovementGeneratorMedium< T, FleeingMovementGenerator< T > >, MovementGeneratorMedium< Player, FlightPathMovementGenerator >, MovementGeneratorMedium< T, FollowMovementGenerator< T > >, MovementGeneratorMedium< Creature, HomeMovementGenerator< Creature > >, MovementGeneratorMedium< T, PointMovementGenerator< T > >, MovementGeneratorMedium< T, RandomMovementGenerator< T > >, MovementGeneratorMedium< Creature, FleeingMovementGenerator< Creature > >, and MovementGeneratorMedium< Creature, WaypointMovementGenerator< Creature > >.
Referenced by WorldSession::HandleMoveWorldportAck(), MotionMaster::InitTop(), and MotionMaster::Mutate().
◆ Pause()
virtual void MovementGenerator::Pause |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ Reset()
virtual void MovementGenerator::Reset |
( |
Unit * |
| ) |
|
|
pure virtual |
Implemented in IdleMovementGenerator, EffectMovementGenerator, RotateMovementGenerator, DistractMovementGenerator, MovementGeneratorMedium< T, D >, MovementGeneratorMedium< Creature, PointMovementGenerator< Creature > >, MovementGeneratorMedium< T, ChaseMovementGenerator< T > >, MovementGeneratorMedium< T, ConfusedMovementGenerator< T > >, MovementGeneratorMedium< T, EscortMovementGenerator< T > >, MovementGeneratorMedium< T, FleeingMovementGenerator< T > >, MovementGeneratorMedium< Player, FlightPathMovementGenerator >, MovementGeneratorMedium< T, FollowMovementGenerator< T > >, MovementGeneratorMedium< Creature, HomeMovementGenerator< Creature > >, MovementGeneratorMedium< T, PointMovementGenerator< T > >, MovementGeneratorMedium< T, RandomMovementGenerator< T > >, MovementGeneratorMedium< Creature, FleeingMovementGenerator< Creature > >, and MovementGeneratorMedium< Creature, WaypointMovementGenerator< Creature > >.
Referenced by MotionMaster::DirectClean(), MotionMaster::DirectExpire(), MotionMaster::DirectExpireSlot(), MotionMaster::ReinitializeMovement(), and MotionMaster::UpdateMotion().
◆ Resume()
virtual void MovementGenerator::Resume |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ unitSpeedChanged()
virtual void MovementGenerator::unitSpeedChanged |
( |
| ) |
|
|
inlinevirtual |
◆ Update()
virtual bool MovementGenerator::Update |
( |
Unit * |
, |
|
|
uint32 |
time_diff |
|
) |
| |
|
pure virtual |
Implemented in TimedFleeingMovementGenerator, IdleMovementGenerator, RotateMovementGenerator, DistractMovementGenerator, EffectMovementGenerator, MovementGeneratorMedium< T, D >, MovementGeneratorMedium< Creature, PointMovementGenerator< Creature > >, MovementGeneratorMedium< T, ChaseMovementGenerator< T > >, MovementGeneratorMedium< T, ConfusedMovementGenerator< T > >, MovementGeneratorMedium< T, EscortMovementGenerator< T > >, MovementGeneratorMedium< T, FleeingMovementGenerator< T > >, MovementGeneratorMedium< Player, FlightPathMovementGenerator >, MovementGeneratorMedium< T, FollowMovementGenerator< T > >, MovementGeneratorMedium< Creature, HomeMovementGenerator< Creature > >, MovementGeneratorMedium< T, PointMovementGenerator< T > >, MovementGeneratorMedium< T, RandomMovementGenerator< T > >, MovementGeneratorMedium< Creature, FleeingMovementGenerator< Creature > >, and MovementGeneratorMedium< Creature, WaypointMovementGenerator< Creature > >.