OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
failedaction.hpp
Go to the documentation of this file.
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  virtual void executeImp(const Ptr &actor);
14 
15  public:
16  FailedAction(const std::string &message = std::string(), const Ptr& target = Ptr());
17  };
18 }
19 
20 #endif
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition: generator.cpp:537
Definition: failedaction.hpp:9
Abstract base for actions.
Definition: action.hpp:11
virtual void executeImp(const Ptr &actor)
Definition: failedaction.cpp:15
FailedAction(const std::string &message=std::string(), const Ptr &target=Ptr())
Definition: failedaction.cpp:11
std::string mMessage
Definition: failedaction.hpp:11
Pointer to a LiveCellRef.
Definition: ptr.hpp:19