AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
MovementGenerator Class Referenceabstract

#include "MovementGenerator.h"

Inheritance diagram for MovementGenerator:
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 > > MovementGeneratorMedium< Creature, WaypointMovementGenerator< Creature > > DistractMovementGenerator EffectMovementGenerator IdleMovementGenerator MovementGeneratorMedium< T, D > RotateMovementGenerator

Public Member Functions

virtual ~MovementGenerator ()
 
virtual void Initialize (Unit *)=0
 
virtual void Finalize (Unit *)=0
 
virtual void Reset (Unit *)=0
 
virtual bool Update (Unit *, uint32 time_diff)=0
 
virtual MovementGeneratorType GetMovementGeneratorType ()=0
 
virtual uint32 GetSplineId () const
 
virtual void unitSpeedChanged ()
 
virtual void Pause (uint32)
 
virtual void Resume (uint32)
 
virtual bool GetResetPosition (float &, float &, float &)
 

Detailed Description

Constructor & Destructor Documentation

◆ ~MovementGenerator()

MovementGenerator::~MovementGenerator ( )
virtual
22{
23}

Member Function Documentation

◆ Finalize()

◆ GetMovementGeneratorType()

◆ GetResetPosition()

virtual bool MovementGenerator::GetResetPosition ( float &  ,
float &  ,
float &   
)
inlinevirtual

◆ GetSplineId()

virtual uint32 MovementGenerator::GetSplineId ( ) const
inlinevirtual

Reimplemented in EscortMovementGenerator< T >.

41{ return 0; } // Xinef: Escort system

Referenced by MotionMaster::GetCurrentSplineId().

◆ Initialize()

◆ Pause()

virtual void MovementGenerator::Pause ( uint32  )
inlinevirtual

Reimplemented in WaypointMovementGenerator< Creature >.

46{}

◆ Reset()

◆ Resume()

virtual void MovementGenerator::Resume ( uint32  )
inlinevirtual

Reimplemented in WaypointMovementGenerator< Creature >.

48{}

◆ unitSpeedChanged()

◆ Update()