You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slumber-quest/modificators/changeinteractionmessagemod...

28 lines
667 B
C++

#ifndef CHANGEINTERACTIONMESSAGEMODIFICATOR_H
#define CHANGEINTERACTIONMESSAGEMODIFICATOR_H
#include <memory>
#include <string>
#include "modificator.h"
class Location;
class ChangeInteractionMessageModificator : public Modificator
{
public:
explicit ChangeInteractionMessageModificator();
virtual ~ChangeInteractionMessageModificator() override;
virtual void run() const override;
void setDependentObjects(const std::shared_ptr<Location>& location,
const std::string& new_message);
private:
std::shared_ptr<Location> _location;
std::string _new_message;
};
#endif // CHANGEINTERACTIONMESSAGEMODIFICATOR_H