#include <IdleMovementGenerator.h>
RotateDirection m_direction
Definition: IdleMovementGenerator.h:50
uint32 m_maxDuration
Definition: IdleMovementGenerator.h:49
uint32 m_duration
Definition: IdleMovementGenerator.h:49
void RotateMovementGenerator::Finalize |
( |
Unit * |
unit | ) |
|
|
overridevirtual |
Implements MovementGenerator.
Definition: MotionMaster.h:53
Definition: ObjectGuid.h:32
void ClearUnitState(uint32 f)
Definition: Unit.h:1396
TypeID GetTypeId() const
Definition: Object.h:113
CreatureAI * AI() const
Definition: Creature.h:525
Creature * ToCreature()
Definition: Object.h:194
virtual void MovementInform(uint32, uint32)
Definition: CreatureAI.h:143
void RotateMovementGenerator::Initialize |
( |
Unit * |
owner | ) |
|
|
overridevirtual |
Implements MovementGenerator.
bool AttackStop()
Definition: Unit.cpp:7337
void AddUnitState(uint32 f)
Definition: Unit.h:1394
bool IsStopped() const
Definition: Unit.h:2104
Unit * GetVictim() const
Definition: Unit.h:1379
void SetInFront(WorldObject const *target)
Definition: Unit.cpp:15771
void StopMoving()
-------—End of Pet responses methods-------—
Definition: Unit.cpp:12743
void RotateMovementGenerator::Reset |
( |
Unit * |
owner | ) |
|
|
inlineoverridevirtual |
Implements MovementGenerator.
void Initialize(Unit *) override
Definition: IdleMovementGenerator.cpp:39
Implements MovementGenerator.
RotateDirection m_direction
Definition: IdleMovementGenerator.h:50
#define M_PI
Definition: Common.h:163
Definition: MotionMaster.h:75
void SetOrientation(float orientation)
Definition: Position.h:99
float wrap(float t, float lo, float hi)
Definition: g3dmath.h:495
uint32 m_maxDuration
Definition: IdleMovementGenerator.h:49
float GetOrientation() const
Definition: Position.h:107
uint32 m_duration
Definition: IdleMovementGenerator.h:49
void SetFacingTo(float ori)
Definition: Unit.cpp:15777
double twoPi()
Definition: g3dmath.h:159
uint32 RotateMovementGenerator::m_duration |
|
private |
uint32 RotateMovementGenerator::m_maxDuration |
|
private |
The documentation for this class was generated from the following files: