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

24 lines
595 B
C++
Raw Normal View History

2012-11-15 22:22:44 +01:00
#ifndef GAME_MWMECHANICS_AIACTIVATE_H
#define GAME_MWMECHANICS_AIACTIVATE_H
#include "aipackage.hpp"
2012-11-16 18:38:15 +01:00
#include <string>
2012-11-15 22:22:44 +01:00
namespace MWMechanics
{
2012-11-16 20:28:20 +01:00
class AiActivate : public AiPackage
2012-11-16 18:38:15 +01:00
{
public:
2012-11-16 20:28:20 +01:00
AiActivate(const std::string &objectId);
2012-11-16 18:38:15 +01:00
virtual AiActivate *clone() const;
2013-10-30 20:42:50 +01:00
virtual bool execute (const MWWorld::Ptr& actor,float duration);
2012-11-16 18:38:15 +01:00
///< \return Package completed?
virtual int getTypeId() const;
2012-11-15 22:22:44 +01:00
2012-11-16 18:38:15 +01:00
private:
2012-11-16 20:28:20 +01:00
std::string mObjectId;
2012-11-16 18:38:15 +01:00
};
2012-11-15 22:22:44 +01:00
}
#endif // GAME_MWMECHANICS_AIACTIVATE_H