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
|
|
|
|
{
|
|
|
|
std::string message;
|
|
|
|
|
2013-02-17 14:56:22 +00:00
|
|
|
virtual void executeImp (const Ptr& actor);
|
2012-11-17 17:17:08 +00:00
|
|
|
|
|
|
|
public:
|
2012-11-19 20:04:49 +00:00
|
|
|
FailedAction (const std::string& message = std::string());
|
2012-11-17 17:17:08 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2013-02-17 14:56:22 +00:00
|
|
|
#endif
|