#include <PointMovementGenerator.h>
|
| PointMovementGenerator (uint32 _id, float _x, float _y, float _z, bool _generatePath, float _speed=0.0f) |
|
void | DoInitialize (T *) |
|
void | DoFinalize (T *) |
|
void | DoReset (T *) |
|
bool | DoUpdate (T *, uint32) |
|
void | MovementInform (T *) |
|
void | unitSpeedChanged () override |
|
MovementGeneratorType | GetMovementGeneratorType () const override |
|
void | GetDestination (float &x, float &y, float &z) const |
|
void | Initialize (Unit *u) override |
|
void | Finalize (Unit *u) override |
|
void | Reset (Unit *u) override |
|
bool | Update (Unit *u, uint32 time_diff) override |
|
virtual | ~MovementGenerator () |
|
virtual bool | GetResetPosition (Unit *, float &, float &, float &) |
|
float i_z
Definition: PointMovementGenerator.h:46
float speed
Definition: PointMovementGenerator.h:47
bool m_generatePath
Definition: PointMovementGenerator.h:48
float i_y
Definition: PointMovementGenerator.h:46
uint32 id
Definition: PointMovementGenerator.h:45
bool i_recalculateSpeed
Definition: PointMovementGenerator.h:49
float i_x
Definition: PointMovementGenerator.h:46
92 if (unit->movespline->Finalized())
void MovementInform(T *)
Definition: PointMovementGenerator.cpp:106
34 if (!unit->IsStopped())
45 init.SetVelocity(
speed);
50 if (creature->GetFormation() && creature->GetFormation()->getLeader() == creature)
51 creature->GetFormation()->LeaderMoveTo(
i_x,
i_y,
i_z);
float i_z
Definition: PointMovementGenerator.h:46
float speed
Definition: PointMovementGenerator.h:47
Definition: Creature.h:467
bool m_generatePath
Definition: PointMovementGenerator.h:48
Definition: SharedDefines.h:4419
float i_y
Definition: PointMovementGenerator.h:46
Creature * ToCreature()
Definition: Object.h:194
float i_x
Definition: PointMovementGenerator.h:46
Definition: MoveSplineInit.h:52
99 if (!unit->IsStopped())
74 init.SetVelocity(
speed);
79 if (creature->GetFormation() && creature->GetFormation()->getLeader() == creature)
80 creature->GetFormation()->LeaderMoveTo(
i_x,
i_y,
i_z);
83 return !unit->movespline->Finalized();
float i_z
Definition: PointMovementGenerator.h:46
float speed
Definition: PointMovementGenerator.h:47
Definition: Creature.h:467
bool m_generatePath
Definition: PointMovementGenerator.h:48
Definition: SharedDefines.h:4419
float i_y
Definition: PointMovementGenerator.h:46
bool i_recalculateSpeed
Definition: PointMovementGenerator.h:49
Creature * ToCreature()
Definition: Object.h:194
float i_x
Definition: PointMovementGenerator.h:46
Definition: MoveSplineInit.h:52
float i_z
Definition: PointMovementGenerator.h:46
float i_y
Definition: PointMovementGenerator.h:46
G3D::int16 z
Definition: Vector3int16.h:46
G3D::int16 y
Definition: Vector2int16.h:38
float i_x
Definition: PointMovementGenerator.h:46
G3D::int16 x
Definition: Vector2int16.h:37
Reimplemented from MovementGenerator.
bool i_recalculateSpeed
Definition: PointMovementGenerator.h:49
The documentation for this class was generated from the following files: