21 #ifndef CPATH_UPDATER_H
22 #define CPATH_UPDATER_H
26 #include "../Math_LIB/MInterpolator.h"
27 #include "../Math_LIB/MPath.h"
29 namespace OpenSkyNet {
47 _pathInterpolator(Math::Interpolator(Math::Interpolator::END)),
48 _speed(0), _usePercentOfPoints(false), _lookAtEnd(true),
49 _lookPercentAhead(0.0f) {}
55 virtual bool update(
float dt_);
59 virtual void setNonCollidingData(
Object* obj_);
60 virtual void handleNonCollidingTransformApplied(
Object* obj_);
65 bool lookAtEnd_=
false,
float lookPercentAhead_=0.0f,
bool usePercentOfPoints_=
false);
71 bool isPathAtEnd(
Object* obj_);
76 #endif //CPATH_UPDATER_H
float _speed
Definition: CPathUpdater.h:39
const Math::Path * _path
Definition: CPathUpdater.h:37
TYPE
Definition: MInterpolator.h:37
Definition: CUpdater.h:49
const Math::Point & getInitialDriverPos(Object *obj_)
Definition: CPathUpdater.h:69
Definition: IMotionUpdater.h:78
Definition: CUpdater.h:49
Definition: CUpdater.h:40
const Math::Interpolator & getInterpolator(Object *obj_)
Definition: CPathUpdater.h:67
OBJECT_PRIORITY
Definition: CUpdater.h:49
#define CORE_DLL
Definition: CCoreDLL.h:57
PathUpdater()
Definition: CPathUpdater.h:52
Definition: CPathUpdater.h:32
Math::Point _drivPos
Definition: CPathUpdater.h:43
float _lookPercentAhead
Definition: CPathUpdater.h:42
Definition: IMotionUpdater.h:33
Definition: MInterpolator.h:41
PathInfo(Updater::OBJECT_PRIORITY prio_=Updater::OBJ_DISABLED, bool isOneShot_=false)
Definition: CPathUpdater.h:45
Definition: ICollisionListener.h:34
Definition: MInterpolator.h:35
Math::Interpolator _pathInterpolator
Definition: CPathUpdater.h:38
bool _lookAtEnd
Definition: CPathUpdater.h:41
bool _usePercentOfPoints
Definition: CPathUpdater.h:40
Definition: CPathUpdater.h:36
virtual ~PathUpdater()
Definition: CPathUpdater.h:53