OpenMW
|
00001 #ifndef GAME_MWMECHANICS_AIFALLOW_H 00002 #define GAME_MWMECHANICS_AIFALLOW_H 00003 00004 #include "aipackage.hpp" 00005 #include <string> 00006 00007 namespace MWMechanics 00008 { 00009 00010 class AiFollow : public AiPackage 00011 { 00012 public: 00013 AiFollow(const std::string &ActorId,float duration, float X, float Y, float Z); 00014 AiFollow(const std::string &ActorId,const std::string &CellId,float duration, float X, float Y, float Z); 00015 virtual AiFollow *clone() const; 00016 virtual bool execute (const MWWorld::Ptr& actor,float duration); 00018 virtual int getTypeId() const; 00019 00020 private: 00021 float mDuration; 00022 float mX; 00023 float mY; 00024 float mZ; 00025 std::string mActorId; 00026 std::string mCellId; 00027 }; 00028 } 00029 #endif