mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 17:19:56 +00:00
7c0b51fb7e
Should extend AiActivate in the future
29 lines
652 B
C++
29 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
|