aboutsummaryrefslogtreecommitdiff
path: root/SetNeighborTileBehavior.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 17:41:38 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 17:41:38 +0200
commit90652f512e9621e0dfac497439c7c80bf113d9d5 (patch)
treecff62ca951edd2f59b8a9970e534b05a78c9d1f5 /SetNeighborTileBehavior.cpp
parente8601b35b601b0ee1486dfaa12385e71b7f2b300 (diff)
implement quadtree paritioning
Diffstat (limited to 'SetNeighborTileBehavior.cpp')
-rw-r--r--SetNeighborTileBehavior.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/SetNeighborTileBehavior.cpp b/SetNeighborTileBehavior.cpp
index d56fa0b..7b7ede7 100644
--- a/SetNeighborTileBehavior.cpp
+++ b/SetNeighborTileBehavior.cpp
@@ -1,6 +1,7 @@
#include "SetNeighborTileBehavior.h"
#include "CreateArtistTileBehavior.h"
#include "Artist.h"
+#include "DeleteArtistTileBehavior.h"
#include "Tile.h"
using namespace std;
@@ -21,6 +22,7 @@ static void update_neighbor(Tile & here, int dx, int dy) {
if (neighbor == nullptr) return;
neighbor->set_type(SetNeighborTileBehavior::type);
+ // neighbor->set_type(DeleteArtistTileBehavior::type);
}
void SetNeighborTileBehavior::update(Tile & tile) {