aboutsummaryrefslogtreecommitdiff
path: root/BlueTileBehavior.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
commit76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch)
tree92a2dc9b12a542456bdc154f44deb34925883210 /BlueTileBehavior.h
parent3f63576819151ff15237a9b4f0651c538cfef067 (diff)
(1/2) rename
Diffstat (limited to 'BlueTileBehavior.h')
-rw-r--r--BlueTileBehavior.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/BlueTileBehavior.h b/BlueTileBehavior.h
index 15257b3..d316420 100644
--- a/BlueTileBehavior.h
+++ b/BlueTileBehavior.h
@@ -1,19 +1,19 @@
#pragma once
-#include "TileBehaviorStrategy.h"
+#include "TileBehavior.h"
-class BlueTileBehavior : public TileBehaviorStrategy {
+class SetNeighborTileBehavior : public TileBehavior {
public:
virtual void step(Artist *);
virtual void update(Tile &);
- virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &);
+ virtual std::unique_ptr<TileBehavior> clone(Museum &);
static constexpr const char * type = "B";
private:
- using TileBehaviorStrategy::TileBehaviorStrategy;
- static BlueTileBehavior instance;
- BlueTileBehavior() = default;
+ using TileBehavior::TileBehavior;
+ static SetNeighborTileBehavior instance;
+ SetNeighborTileBehavior() = default;
private:
int dx = 0;