aboutsummaryrefslogtreecommitdiff
path: root/TileBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'TileBehavior.h')
-rw-r--r--TileBehavior.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/TileBehavior.h b/TileBehavior.h
index b79e7f5..c6e6859 100644
--- a/TileBehavior.h
+++ b/TileBehavior.h
@@ -11,14 +11,12 @@ class TileBehavior {
public:
virtual void step(Artist *);
virtual void update(Tile &) = 0;
- virtual std::unique_ptr<TileBehavior> clone(Museum & m) = 0;
protected:
- TileBehavior(const std::string type);
- TileBehavior() = default;
+ TileBehavior(Museum &);
protected:
unsigned int interactions = 0;
- Museum * museum = nullptr;
+ Museum & museum;
};