18#ifndef TRINITY_RANDOMMOTIONGENERATOR_H
19#define TRINITY_RANDOMMOTIONGENERATOR_H
50 std::unique_ptr<PathGenerator>
_path;
@ MOVEMENTGENERATOR_FLAG_SPEED_UPDATE_PENDING
std::optional< T > Optional
Optional helper class to wrap optional values within.
void AddFlag(uint16 const flag)
void SetRandomLocation(T *)
Optional< TimeTracker > _duration
std::unique_ptr< PathGenerator > _path
void UnitSpeedChanged() override
void Pause(uint32 timer) override
MovementGeneratorType GetMovementGeneratorType() const override
void DoFinalize(T *, bool, bool)
void Resume(uint32 overrideTimer) override
bool DoUpdate(T *, uint32)
RandomMovementGenerator(float distance=0.0f, Optional< Milliseconds > duration={})