1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 17:19:56 +00:00
openmw-tes3mp/apps/openmw/mwmechanics/aitravel.hpp

36 lines
775 B
C++
Raw Normal View History

2012-11-15 21:15:20 +00:00
#ifndef GAME_MWMECHANICS_AITRAVEL_H
#define GAME_MWMECHANICS_AITRAVEL_H
2013-03-26 17:01:01 +00:00
#include "aipackage.hpp"
2013-03-31 17:30:03 +00:00
#include "pathfinding.hpp"
2013-03-26 17:01:01 +00:00
namespace MWMechanics
{
class AiTravel : public AiPackage
{
public:
AiTravel(float x, float y, float z);
virtual AiTravel *clone() const;
virtual bool execute (const MWWorld::Ptr& actor);
///< \return Package completed?
virtual int getTypeId() const;
private:
float mX;
float mY;
float mZ;
int cellX;
int cellY;
2013-03-31 17:30:03 +00:00
//bool isPathConstructed;
//std::list<ESM::Pathgrid::Point> mPath;
PathFinder mPathFinder;
2013-03-26 17:01:01 +00:00
};
2012-11-14 17:42:04 +00:00
}
2012-11-15 21:15:20 +00:00
#endif