mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 15:49:55 +00:00
30 lines
652 B
C++
30 lines
652 B
C++
|
#ifndef GAME_MWMECHANICS_AIPERSUE_H
|
||
|
#define GAME_MWMECHANICS_AIPERSUE_H
|
||
|
|
||
|
#include "aipackage.hpp"
|
||
|
#include <string>
|
||
|
|
||
|
#include "pathfinding.hpp"
|
||
|
|
||
|
namespace MWMechanics
|
||
|
{
|
||
|
|
||
|
class AiPersue : public AiPackage
|
||
|
{
|
||
|
public:
|
||
|
AiPersue(const std::string &objectId);
|
||
|
virtual AiPersue *clone() const;
|
||
|
virtual bool execute (const MWWorld::Ptr& actor,float duration);
|
||
|
///< \return Package completed?
|
||
|
virtual int getTypeId() const;
|
||
|
|
||
|
private:
|
||
|
std::string mObjectId;
|
||
|
|
||
|
PathFinder mPathFinder;
|
||
|
int mCellX;
|
||
|
int mCellY;
|
||
|
};
|
||
|
}
|
||
|
#endif
|