2012-11-17 17:17:08 +00:00
|
|
|
#ifndef GAME_MWWORLD_FAILEDACTION_H
|
|
|
|
#define GAME_MWWORLD_FAILEDACTION_H
|
|
|
|
|
|
|
|
#include "action.hpp"
|
|
|
|
#include "ptr.hpp"
|
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class FailedAction : public Action
|
|
|
|
{
|
2013-08-09 05:34:53 +00:00
|
|
|
std::string mMessage;
|
2012-11-17 17:17:08 +00:00
|
|
|
|
2013-08-09 05:34:53 +00:00
|
|
|
virtual void executeImp(const Ptr &actor);
|
|
|
|
|
|
|
|
public:
|
2016-08-10 12:02:17 +00:00
|
|
|
FailedAction(const std::string &message = std::string(), const Ptr& target = Ptr());
|
2012-11-17 17:17:08 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2015-03-11 14:54:45 +00:00
|
|
|
#endif
|