1 #ifndef GAME_MWWORLD_FAILEDACTION_H
2 #define GAME_MWWORLD_FAILEDACTION_H
3 
4 #include "action.hpp"
5 #include "ptr.hpp"
6 
7 namespace MWWorld
8 {
9     class FailedAction : public Action
10     {
11         std::string mMessage;
12 
13         void executeImp(const Ptr &actor) override;
14 
15     public:
16         FailedAction(const std::string &message = std::string(), const Ptr& target = Ptr());
17     };
18 }
19 
20 #endif
21