diff options
Diffstat (limited to 'TileBehavior.cpp')
-rw-r--r-- | TileBehavior.cpp | 4 |
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 *) { |