OpenMW
apps/openmw/mwmechanics/aitravel.hpp
Go to the documentation of this file.
00001 #ifndef GAME_MWMECHANICS_AITRAVEL_H
00002 #define GAME_MWMECHANICS_AITRAVEL_H
00003 
00004 #include "aipackage.hpp"
00005 
00006 #include "pathfinding.hpp"
00007 
00008 namespace MWMechanics
00009 {
00010     class AiTravel : public AiPackage
00011     {
00012         public:
00013             AiTravel(float x, float y, float z);
00014             virtual AiTravel *clone() const;
00015 
00016             virtual bool execute (const MWWorld::Ptr& actor,float duration);
00018 
00019             virtual int getTypeId() const;
00020 
00021         private:
00022             float mX;
00023             float mY;
00024             float mZ;
00025 
00026             int cellX;
00027             int cellY;
00028 
00029             PathFinder mPathFinder;
00030     };
00031 }
00032 
00033 #endif