aboutsummaryrefslogtreecommitdiff
path: root/SetNeighborTileBehavior.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SetNeighborTileBehavior.cpp')
-rw-r--r--SetNeighborTileBehavior.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/SetNeighborTileBehavior.cpp b/SetNeighborTileBehavior.cpp
index d934d4b..d56fa0b 100644
--- a/SetNeighborTileBehavior.cpp
+++ b/SetNeighborTileBehavior.cpp
@@ -1,5 +1,3 @@
-#include <memory>
-
#include "SetNeighborTileBehavior.h"
#include "CreateArtistTileBehavior.h"
#include "Artist.h"
@@ -7,8 +5,6 @@
using namespace std;
-SetNeighborTileBehavior SetNeighborTileBehavior::instance { SetNeighborTileBehavior::type };
-
void SetNeighborTileBehavior::step(Artist * artist) {
this->interactions++;
if (dx != 0 || dy != 0) return;
@@ -36,9 +32,3 @@ void SetNeighborTileBehavior::update(Tile & tile) {
tile.set_type(CreateArtistTileBehavior::type);
}
-unique_ptr<TileBehavior> SetNeighborTileBehavior::clone(Museum & museum) {
- auto instance = new SetNeighborTileBehavior();
- instance->museum = &museum;
- return unique_ptr<TileBehavior>(instance);
-}
-