mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
34 lines
682 B
C++
34 lines
682 B
C++
#ifndef GAME_MWMECHANICS_AITRAVEL_H
|
|
#define GAME_MWMECHANICS_AITRAVEL_H
|
|
|
|
#include "aipackage.hpp"
|
|
|
|
#include "pathfinding.hpp"
|
|
|
|
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;
|
|
|
|
PathFinder mPathFinder;
|
|
};
|
|
}
|
|
|
|
#endif
|