openmw-tes3coop/apps/openmw/mwmechanics/aiescort.hpp

35 lines
812 B
C++
Raw Normal View History

2012-11-15 21:15:20 +00:00
#ifndef GAME_MWMECHANICS_AIESCORT_H
#define GAME_MWMECHANICS_AIESCORT_H
2012-11-14 17:42:04 +00:00
2012-11-15 21:15:20 +00:00
#include "aipackage.hpp"
#include <string>
2012-11-14 17:42:04 +00:00
namespace MWMechanics
{
2012-11-16 17:38:15 +00:00
class AiEscort : public AiPackage
{
public:
AiEscort(const std::string &actorID,int duration, float x, float y, float z);
virtual AiEscort *clone() const;
2012-11-14 17:42:04 +00:00
2012-11-16 17:38:15 +00:00
virtual bool execute (const MWWorld::Ptr& actor);
///< \return Package completed?
2012-11-14 17:42:04 +00:00
2012-11-16 17:38:15 +00:00
virtual int getTypeId() const;
float getX();
float getY();
float getZ();
std::string getActorID();
int getDuration();
2012-11-14 17:42:04 +00:00
2012-11-16 17:38:15 +00:00
private:
std::string mActorID;
float mX;
float mY;
float mZ;
int mDuration;
2012-11-15 21:15:20 +00:00
2012-11-16 17:38:15 +00:00
};
2012-11-14 17:42:04 +00:00
}
2012-11-15 21:15:20 +00:00
#endif