aboutsummaryrefslogtreecommitdiff
path: root/RedTileBehavior.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 /RedTileBehavior.h
parent3f63576819151ff15237a9b4f0651c538cfef067 (diff)
(1/2) rename
Diffstat (limited to 'RedTileBehavior.h')
-rw-r--r--RedTileBehavior.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/RedTileBehavior.h b/RedTileBehavior.h
index b7443c9..0b2b0d4 100644
--- a/RedTileBehavior.h
+++ b/RedTileBehavior.h
@@ -1,19 +1,19 @@
#pragma once
-#include "TileBehaviorStrategy.h"
+#include "TileBehavior.h"
-class RedTileBehavior : public TileBehaviorStrategy {
+class DeleteArtistTileBehavior : 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 = "R";
private:
- using TileBehaviorStrategy::TileBehaviorStrategy;
- static RedTileBehavior instance;
- RedTileBehavior() = default;
+ using TileBehavior::TileBehavior;
+ static DeleteArtistTileBehavior instance;
+ DeleteArtistTileBehavior() = default;
};