18#ifndef TRINITY_FOLLOWMOVEMENTGENERATOR_H
19#define TRINITY_FOLLOWMOVEMENTGENERATOR_H
31#define FOLLOW_RANGE_TOLERANCE 1.0f
57 std::unique_ptr<PathGenerator>
_path;
std::optional< T > Optional
Optional helper class to wrap optional values within.
MovementGeneratorType GetMovementGeneratorType() const override
bool Update(Unit *, uint32) override
void Finalize(Unit *, bool, bool) override
~FollowMovementGenerator()
bool Initialize(Unit *) override
bool Reset(Unit *) override
Optional< Position > _lastTargetPosition
std::unique_ptr< PathGenerator > _path
void UpdatePetSpeed(Unit *owner)
static constexpr uint32 CHECK_INTERVAL
void Deactivate(Unit *) override
void UnitSpeedChanged() override