2012-11-17 18:17:08 +01: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-08 22:34:53 -07:00
|
|
|
std::string mMessage;
|
2012-11-17 18:17:08 +01:00
|
|
|
|
2020-10-16 22:18:54 +04:00
|
|
|
void executeImp(const Ptr &actor) override;
|
2013-08-08 22:34:53 -07:00
|
|
|
|
|
|
|
public:
|
2016-08-10 21:02:17 +09:00
|
|
|
FailedAction(const std::string &message = std::string(), const Ptr& target = Ptr());
|
2012-11-17 18:17:08 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2015-03-11 10:54:45 -04:00
|
|
|
#endif
|