slumber-quest/controllers/locationcontroller.h

22 lines
506 B
C
Raw Normal View History

2021-05-07 21:36:26 -04:00
#ifndef LOCATIONCONTROLLER_H
#define LOCATIONCONTROLLER_H
#include "controller.h"
class Location;
class LocationController : public Controller
{
public:
explicit LocationController(Controller::Initializer&& initializer);
virtual ~LocationController() override;
virtual std::string interact(std::shared_ptr<Actor> actor) override;
void setDependentLocation(const std::shared_ptr<Location>& location);
private:
std::shared_ptr<Location> _location;
};
#endif // LOCATIONCONTROLLER_H