1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwmechanics/aitravel.hpp

38 lines
638 B
C++
Raw Normal View History

2012-11-14 17:42:04 +00:00
#ifndef AITRAVEL_HPP_INCLUDED
#define AITRAVEL_HPP_INCLUDED
#include "aipackage.hpp"
#include <iostream>
namespace MWWorld
{
class Ptr;
}
namespace MWMechanics
{
class AiTravel : public AiPackage
{
public:
AiTravel(float x, float y, float z, bool reset = false);
virtual AiTravel *clone() const;
virtual bool execute (const MWWorld::Ptr& actor);
///< \return Package completed?
virtual int getTypeId() const;
float getX();
float getY();
float getZ();
bool getReset();
private:
float mX;
float mY;
float mZ;
bool mReset;
};
}
#endif // AITRAVEL_HPP_INCLUDED