aboutsummaryrefslogtreecommitdiff
path: root/TileBehavior.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 14:02:34 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 14:02:34 +0200
commitfe8f7273f0efdfe319a0d3e3b2fc2847992745af (patch)
tree9f56560c8a35c3e281881fa48cd79b26f8e8de7e /TileBehavior.cpp
parent4cb7ca42003c177e3acc80075d7594e555966106 (diff)
fix more design
Diffstat (limited to 'TileBehavior.cpp')
-rw-r--r--TileBehavior.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/TileBehavior.cpp b/TileBehavior.cpp
index 9de896e..cf1915a 100644
--- a/TileBehavior.cpp
+++ b/TileBehavior.cpp
@@ -1,8 +1,6 @@
-#include "TileBehaviorFactory.h"
#include "TileBehavior.h"
-TileBehavior::TileBehavior(const std::string type) {
- TileBehaviorFactory::register_strategy(type, this);
+TileBehavior::TileBehavior(Museum & m) : museum(m) {
}
void TileBehavior::step(Artist *) {