#include <FormationMovementGenerator.h>
|
| FormationMovementGenerator (Unit *leader, float range, float angle, uint32 point1, uint32 point2) |
|
MovementGeneratorType | GetMovementGeneratorType () const override |
|
void | DoInitialize (Creature *) |
|
void | DoReset (Creature *) |
|
bool | DoUpdate (Creature *, uint32) |
|
void | DoDeactivate (Creature *) |
|
void | DoFinalize (Creature *, bool, bool) |
|
void | Initialize (Unit *owner) override |
|
void | Reset (Unit *owner) override |
|
bool | Update (Unit *owner, uint32 diff) override |
|
void | Deactivate (Unit *owner) override |
|
void | Finalize (Unit *owner, bool active, bool movementInform) override |
|
| MovementGenerator () |
|
| MovementGenerator (MovementGenerator const &)=delete |
|
| MovementGenerator (MovementGenerator &&)=delete |
|
MovementGenerator & | operator= (MovementGenerator const &)=delete |
|
MovementGenerator & | operator= (MovementGenerator &&)=delete |
|
virtual | ~MovementGenerator () |
|
virtual void | Initialize (Unit *owner)=0 |
|
virtual void | Reset (Unit *owner)=0 |
|
virtual bool | Update (Unit *owner, uint32 diff)=0 |
|
virtual void | Deactivate (Unit *owner)=0 |
|
virtual void | Finalize (Unit *owner, bool active, bool movementInform)=0 |
|
virtual MovementGeneratorType | GetMovementGeneratorType () const =0 |
|
virtual void | UnitSpeedChanged () |
|
virtual void | Pause (uint32) |
|
virtual void | Resume (uint32) |
|
virtual bool | GetResetPosition (Unit *, float &, float &, float &) |
|
void | AddFlag (uint16 const flag) |
|
bool | HasFlag (uint16 const flag) const |
|
void | RemoveFlag (uint16 const flag) |
|
virtual std::string | GetDebugInfo () const |
|
| AbstractFollower (Unit *target=nullptr) |
|
| ~AbstractFollower () |
|
void | SetTarget (Unit *unit) |
|
Unit * | GetTarget () const |
|
◆ FormationMovementGenerator()
FormationMovementGenerator::FormationMovementGenerator |
( |
Unit * |
leader, |
|
|
float |
range, |
|
|
float |
angle, |
|
|
uint32 |
point1, |
|
|
uint32 |
point2 |
|
) |
| |
|
explicit |
◆ DoDeactivate()
void FormationMovementGenerator::DoDeactivate |
( |
Creature * |
owner | ) |
|
◆ DoFinalize()
void FormationMovementGenerator::DoFinalize |
( |
Creature * |
owner, |
|
|
bool |
active, |
|
|
bool |
movementInform |
|
) |
| |
◆ DoInitialize()
void FormationMovementGenerator::DoInitialize |
( |
Creature * |
owner | ) |
|
◆ DoReset()
void FormationMovementGenerator::DoReset |
( |
Creature * |
owner | ) |
|
◆ DoUpdate()
bool FormationMovementGenerator::DoUpdate |
( |
Creature * |
owner, |
|
|
uint32 |
diff |
|
) |
| |
◆ GetMovementGeneratorType()
◆ LaunchMovement()
void FormationMovementGenerator::LaunchMovement |
( |
Creature * |
owner, |
|
|
Unit * |
target |
|
) |
| |
|
private |
◆ MovementInform()
void FormationMovementGenerator::MovementInform |
( |
Creature * |
owner | ) |
|
|
private |
◆ _angle
float FormationMovementGenerator::_angle |
|
private |
◆ _hasPredictedDestination
bool FormationMovementGenerator::_hasPredictedDestination |
|
private |
◆ _lastLeaderPosition
Position FormationMovementGenerator::_lastLeaderPosition |
|
private |
◆ _lastLeaderSplineID
uint32 FormationMovementGenerator::_lastLeaderSplineID |
|
private |
◆ _nextMoveTimer
◆ _point1
uint32 const FormationMovementGenerator::_point1 |
|
private |
◆ _point2
uint32 const FormationMovementGenerator::_point2 |
|
private |
◆ _range
float const FormationMovementGenerator::_range |
|
private |
◆ FORMATION_MOVEMENT_INTERVAL
constexpr uint32 FormationMovementGenerator::FORMATION_MOVEMENT_INTERVAL = 1200 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: