mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 19:49:54 +00:00
27 lines
659 B
C++
27 lines
659 B
C++
#ifndef GAME_MWMECHANICS_AIFALLOW_H
|
|
#define GAME_MWMECHANICS_AIFALLOW_H
|
|
|
|
#include "aipackage.hpp"
|
|
#include <string>
|
|
|
|
namespace MWMechanics
|
|
{
|
|
|
|
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;
|
|
|
|
private:
|
|
float mDuration;
|
|
float mX;
|
|
float mY;
|
|
float mZ;
|
|
std::string mActorID;
|
|
};
|
|
}
|
|
#endif
|