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