OpenMW
apps/openmw/mwmechanics/aipackage.hpp
Go to the documentation of this file.
00001 #ifndef GAME_MWMECHANICS_AIPACKAGE_H
00002 #define GAME_MWMECHANICS_AIPACKAGE_H
00003 
00004 namespace MWWorld
00005 {
00006     class Ptr;
00007 }
00008 
00009 namespace MWMechanics
00010 {
00012     class AiPackage
00013     {
00014         public:
00015     
00016             virtual ~AiPackage();
00017       
00018             virtual AiPackage *clone() const = 0;
00019             
00020             virtual bool execute (const MWWorld::Ptr& actor,float duration) = 0;
00022             
00023             virtual int getTypeId() const = 0;
00025 
00026             virtual unsigned int getPriority() const {return 0;}
00028     };
00029 }
00030 
00031 #endif
00032