TrinityCore
MovementGenerator Class Referenceabstract

#include <MovementGenerator.h>

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 diff)=0
 
virtual MovementGeneratorType GetMovementGeneratorType () const =0
 
virtual void UnitSpeedChanged ()
 
virtual void Pause (uint32)
 
virtual void Resume (uint32)
 
virtual bool GetResetPosition (Unit *, float &, float &, float &)
 

Constructor & Destructor Documentation

◆ ~MovementGenerator()

MovementGenerator::~MovementGenerator ( )
virtual
21 { }

Member Function Documentation

◆ Finalize()

◆ GetMovementGeneratorType()

◆ GetResetPosition()

virtual bool MovementGenerator::GetResetPosition ( Unit ,
float &  ,
float &  ,
float &   
)
inlinevirtual
45 { return false; }
+ Here is the caller graph for this function:

◆ Initialize()

◆ Pause()

virtual void MovementGenerator::Pause ( uint32  )
inlinevirtual

Reimplemented in WaypointMovementGenerator< Creature >.

41 { } // timer in ms

◆ Reset()

◆ Resume()

virtual void MovementGenerator::Resume ( uint32  )
inlinevirtual

Reimplemented in WaypointMovementGenerator< Creature >.

42 { } // timer in ms

◆ UnitSpeedChanged()

virtual void MovementGenerator::UnitSpeedChanged ( )
inlinevirtual

Reimplemented in WaypointMovementGenerator< Creature >, TargetedMovementGenerator< T, D >, TargetedMovementGenerator< T, FollowMovementGenerator< T > >, TargetedMovementGenerator< T, ChaseMovementGenerator< T > >, PointMovementGenerator< T >, PointMovementGenerator< Creature >, and FormationMovementGenerator.

40 { }
+ Here is the caller graph for this function:

◆ Update()


The documentation for this class was generated from the following files: