|
|
|
@ -6,29 +6,29 @@
|
|
|
|
|
|
|
|
|
|
namespace MWMechanics
|
|
|
|
|
{
|
|
|
|
|
class AiEscort : public AiPackage
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
AiEscort(const std::string &ActorID,int Duration, float X, float Y, float Z);
|
|
|
|
|
virtual AiEscort *clone() const;
|
|
|
|
|
class AiEscort : public AiPackage
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
AiEscort(const std::string &actorID,int duration, float x, float y, float z);
|
|
|
|
|
virtual AiEscort *clone() const;
|
|
|
|
|
|
|
|
|
|
virtual bool execute (const MWWorld::Ptr& actor);
|
|
|
|
|
///< \return Package completed?
|
|
|
|
|
virtual bool execute (const MWWorld::Ptr& actor);
|
|
|
|
|
///< \return Package completed?
|
|
|
|
|
|
|
|
|
|
virtual int getTypeId() const;
|
|
|
|
|
float getX();
|
|
|
|
|
float getY();
|
|
|
|
|
float getZ();
|
|
|
|
|
std::string getActorID();
|
|
|
|
|
int getDuration();
|
|
|
|
|
virtual int getTypeId() const;
|
|
|
|
|
float getX();
|
|
|
|
|
float getY();
|
|
|
|
|
float getZ();
|
|
|
|
|
std::string getActorID();
|
|
|
|
|
int getDuration();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
std::string mActorID;
|
|
|
|
|
float mX;
|
|
|
|
|
float mY;
|
|
|
|
|
float mZ;
|
|
|
|
|
int mDuration;
|
|
|
|
|
private:
|
|
|
|
|
std::string mActorID;
|
|
|
|
|
float mX;
|
|
|
|
|
float mY;
|
|
|
|
|
float mZ;
|
|
|
|
|
int mDuration;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|