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 /YellowTileBehavior.h | |
parent | 3f63576819151ff15237a9b4f0651c538cfef067 (diff) |
(1/2) rename
Diffstat (limited to 'YellowTileBehavior.h')
-rw-r--r-- | YellowTileBehavior.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/YellowTileBehavior.h b/YellowTileBehavior.h index 8de0b75..6abd67f 100644 --- a/YellowTileBehavior.h +++ b/YellowTileBehavior.h @@ -1,18 +1,18 @@ #pragma once -#include "TileBehaviorStrategy.h" +#include "TileBehavior.h" -class YellowTileBehavior : public TileBehaviorStrategy { +class CreateArtistTileBehavior : 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 = "Y"; private: - using TileBehaviorStrategy::TileBehaviorStrategy; - static YellowTileBehavior instance; - YellowTileBehavior() = default; + using TileBehavior::TileBehavior; + static CreateArtistTileBehavior instance; + CreateArtistTileBehavior() = default; unsigned int last_interactions = 0; }; |