1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:19:54 +00:00
openmw-tes3mp/apps/openmw/mwmechanics/aifollow.hpp

28 lines
659 B
C++
Raw Normal View History

2012-11-15 21:32:15 +00:00
#ifndef GAME_MWMECHANICS_AIFALLOW_H
#define GAME_MWMECHANICS_AIFALLOW_H
#include "aipackage.hpp"
#include <string>
namespace MWMechanics
{
2012-11-16 17:38:15 +00:00
class AiFollow : AiPackage
{
public:
AiFollow(const std::string &ActorID,float duration, float X, float Y, float Z);
virtual AiFollow *clone() const;
virtual bool execute (const MWWorld::Ptr& actor);
///< \return Package completed?
virtual int getTypeId() const;
2012-11-15 21:32:15 +00:00
2012-11-16 17:38:15 +00:00
private:
float mDuration;
float mX;
float mY;
float mZ;
std::string mActorID;
};
2012-11-15 21:32:15 +00:00
}
#endif