aboutsummaryrefslogtreecommitdiff
path: root/NullTileBehavior.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 /NullTileBehavior.h
parent212734b31102b11f4819c6676270baa1c99ea27b (diff)
small refactoring
Diffstat (limited to 'NullTileBehavior.h')
-rw-r--r--NullTileBehavior.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NullTileBehavior.h b/NullTileBehavior.h
index f47770e..9b52c48 100644
--- a/NullTileBehavior.h
+++ b/NullTileBehavior.h
@@ -7,6 +7,8 @@ public:
virtual void update(Tile &);
virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &);
+ static constexpr const char * type = "";
+
private:
using TileBehaviorStrategy::TileBehaviorStrategy;
static NullTileBehavior instance;