aboutsummaryrefslogtreecommitdiff
path: root/NullTileBehavior.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 /NullTileBehavior.cpp
parent4cb7ca42003c177e3acc80075d7594e555966106 (diff)
fix more design
Diffstat (limited to 'NullTileBehavior.cpp')
-rw-r--r--NullTileBehavior.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/NullTileBehavior.cpp b/NullTileBehavior.cpp
index 7a056a4..c5a35d9 100644
--- a/NullTileBehavior.cpp
+++ b/NullTileBehavior.cpp
@@ -1,16 +1,6 @@
-#include <memory>
-
#include "NullTileBehavior.h"
using namespace std;
-NullTileBehavior NullTileBehavior::instance { NullTileBehavior::type };
-
void NullTileBehavior::update(Tile &) { }
-unique_ptr<TileBehavior> NullTileBehavior::clone(Museum & museum) {
- auto instance = new NullTileBehavior();
- instance->museum = &museum;
- return unique_ptr<TileBehavior>(instance);
-}
-