OpenMW
apps/openmw/mwmechanics/aiactivate.hpp
Go to the documentation of this file.
00001 #ifndef GAME_MWMECHANICS_AIACTIVATE_H
00002 #define GAME_MWMECHANICS_AIACTIVATE_H
00003 
00004 #include "aipackage.hpp"
00005 #include <string>
00006 
00007 namespace MWMechanics
00008 {
00009 
00010     class AiActivate : public AiPackage
00011     {
00012         public:
00013             AiActivate(const std::string &objectId);
00014             virtual AiActivate *clone() const;
00015             virtual bool execute (const MWWorld::Ptr& actor,float duration);
00017             virtual int getTypeId() const;
00018 
00019         private:
00020             std::string mObjectId;
00021     };
00022 }
00023 #endif // GAME_MWMECHANICS_AIACTIVATE_H