diff options
Diffstat (limited to 'src/game/ConfusedMovementGenerator.h')
-rw-r--r-- | src/game/ConfusedMovementGenerator.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/game/ConfusedMovementGenerator.h b/src/game/ConfusedMovementGenerator.h index ad47b13cb39..0675ea49e4c 100644 --- a/src/game/ConfusedMovementGenerator.h +++ b/src/game/ConfusedMovementGenerator.h @@ -17,35 +17,28 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - #ifndef TRINITY_CONFUSEDGENERATOR_H #define TRINITY_CONFUSEDGENERATOR_H - #include "MovementGenerator.h" #include "DestinationHolder.h" #include "Traveller.h" - #define MAX_CONF_WAYPOINTS 24 - template<class T> class TRINITY_DLL_SPEC ConfusedMovementGenerator : public MovementGeneratorMedium< T, ConfusedMovementGenerator<T> > { public: explicit ConfusedMovementGenerator() : i_nextMoveTime(0) {} - void Initialize(T &); void Finalize(T &); void Reset(T &); bool Update(T &, const uint32 &); - bool GetDestination(float &x, float &y, float &z) const { if(i_destinationHolder.HasArrived()) return false; i_destinationHolder.GetDestination(x,y,z); return true; } - MovementGeneratorType GetMovementGeneratorType() { return CONFUSED_MOTION_TYPE; } private: void _InitSpecific(T &, bool &, bool &); |