From fe8f7273f0efdfe319a0d3e3b2fc2847992745af Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 21 Oct 2024 14:02:34 +0200 Subject: fix more design --- TileBehavior.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'TileBehavior.cpp') 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 *) { -- cgit v1.2.3