1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwmechanics/aiactivate.hpp

24 lines
494 B
C++
Raw Normal View History

2012-11-15 21:22:44 +00:00
#ifndef GAME_MWMECHANICS_AIACTIVATE_H
#define GAME_MWMECHANICS_AIACTIVATE_H
#include "aipackage.hpp"
namespace MWMechanics
{
class AiActivate : AiPackage
{
public:
AiActivate(const MWWorld::Ptr& object);
virtual AiActivate *clone() const;
virtual bool execute (const MWWorld::Ptr& actor);
///< \return Package completed?
virtual int getTypeId() const;
private:
const MWWorld::Ptr * mObject;
};
}
#endif // GAME_MWMECHANICS_AIACTIVATE_H