diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
commit | 76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch) | |
tree | 92a2dc9b12a542456bdc154f44deb34925883210 /NullTileBehavior.h | |
parent | 3f63576819151ff15237a9b4f0651c538cfef067 (diff) |
(1/2) rename
Diffstat (limited to 'NullTileBehavior.h')
-rw-r--r-- | NullTileBehavior.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NullTileBehavior.h b/NullTileBehavior.h index 9b52c48..72aa196 100644 --- a/NullTileBehavior.h +++ b/NullTileBehavior.h @@ -1,16 +1,16 @@ #pragma once -#include "TileBehaviorStrategy.h" +#include "TileBehavior.h" -class NullTileBehavior : public TileBehaviorStrategy { +class NullTileBehavior : public TileBehavior { public: virtual void update(Tile &); - virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &); + virtual std::unique_ptr<TileBehavior> clone(Museum &); static constexpr const char * type = ""; private: - using TileBehaviorStrategy::TileBehaviorStrategy; + using TileBehavior::TileBehavior; static NullTileBehavior instance; NullTileBehavior() = default; }; |