aboutsummaryrefslogtreecommitdiff
path: root/GrayTileBehavior.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-14 16:20:52 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-14 16:20:52 +0200
commit33bed565c7dc5e419995702b854f618eb13847e5 (patch)
treea3855ec638b7bff585fa0f2f2a4576d2e24a0c56 /GrayTileBehavior.h
parent212734b31102b11f4819c6676270baa1c99ea27b (diff)
small refactoring
Diffstat (limited to 'GrayTileBehavior.h')
-rw-r--r--GrayTileBehavior.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/GrayTileBehavior.h b/GrayTileBehavior.h
index ceba350..72c3fd8 100644
--- a/GrayTileBehavior.h
+++ b/GrayTileBehavior.h
@@ -7,6 +7,8 @@ public:
virtual void update(Tile &);
virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &);
+ static constexpr const char * type = "G";
+
private:
using TileBehaviorStrategy::TileBehaviorStrategy;
static GrayTileBehavior instance;