#include <SplineChainMovementGenerator.h>
|
| SplineChainMovementGenerator (uint32 id, std::vector< SplineChainLink > const &chain, bool walk=false) |
|
| SplineChainMovementGenerator (SplineChainResumeInfo const &info) |
|
void | Initialize (Unit *) override |
|
void | Reset (Unit *) override |
|
bool | Update (Unit *, uint32) override |
|
void | Deactivate (Unit *) override |
|
void | Finalize (Unit *, bool, bool) override |
|
MovementGeneratorType | GetMovementGeneratorType () const override |
|
SplineChainResumeInfo | GetResumeInfo (Unit const *owner) const |
|
uint32 | GetId () const |
|
| 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 |
|
◆ SplineChainMovementGenerator() [1/2]
SplineChainMovementGenerator::SplineChainMovementGenerator |
( |
uint32 |
id, |
|
|
std::vector< SplineChainLink > const & |
chain, |
|
|
bool |
walk = false |
|
) |
| |
|
explicit |
◆ SplineChainMovementGenerator() [2/2]
◆ Deactivate()
void SplineChainMovementGenerator::Deactivate |
( |
Unit * |
owner | ) |
|
|
overridevirtual |
◆ Finalize()
void SplineChainMovementGenerator::Finalize |
( |
Unit * |
owner, |
|
|
bool |
active, |
|
|
bool |
movementInform |
|
) |
| |
|
overridevirtual |
◆ GetId()
uint32 SplineChainMovementGenerator::GetId |
( |
| ) |
const |
|
inline |
◆ GetMovementGeneratorType()
◆ GetResumeInfo() [1/2]
◆ GetResumeInfo() [2/2]
◆ Initialize()
void SplineChainMovementGenerator::Initialize |
( |
Unit * |
owner | ) |
|
|
overridevirtual |
◆ Reset()
void SplineChainMovementGenerator::Reset |
( |
Unit * |
owner | ) |
|
|
overridevirtual |
◆ SendPathSpline()
◆ SendSplineFor()
void SplineChainMovementGenerator::SendSplineFor |
( |
Unit * |
owner, |
|
|
uint32 |
index, |
|
|
uint32 & |
duration |
|
) |
| |
|
private |
◆ Update()
bool SplineChainMovementGenerator::Update |
( |
Unit * |
owner, |
|
|
uint32 |
diff |
|
) |
| |
|
overridevirtual |
◆ _chain
◆ _chainSize
uint8 const SplineChainMovementGenerator::_chainSize |
|
private |
◆ _id
uint32 const SplineChainMovementGenerator::_id |
|
private |
◆ _msToNext
uint32 SplineChainMovementGenerator::_msToNext |
|
private |
◆ _nextFirstWP
uint8 SplineChainMovementGenerator::_nextFirstWP |
|
private |
◆ _nextIndex
uint8 SplineChainMovementGenerator::_nextIndex |
|
private |
◆ _walk
bool const SplineChainMovementGenerator::_walk |
|
private |
The documentation for this class was generated from the following files: