diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-14 16:20:52 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-14 16:20:52 +0200 |
commit | 33bed565c7dc5e419995702b854f618eb13847e5 (patch) | |
tree | a3855ec638b7bff585fa0f2f2a4576d2e24a0c56 /NullTileBehavior.h | |
parent | 212734b31102b11f4819c6676270baa1c99ea27b (diff) |
small refactoring
Diffstat (limited to 'NullTileBehavior.h')
-rw-r--r-- | NullTileBehavior.h | 2 |
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; |