diff options
Diffstat (limited to 'RedTileBehavior.h')
-rw-r--r-- | RedTileBehavior.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/RedTileBehavior.h b/RedTileBehavior.h index b7443c9..0b2b0d4 100644 --- a/RedTileBehavior.h +++ b/RedTileBehavior.h @@ -1,19 +1,19 @@ #pragma once -#include "TileBehaviorStrategy.h" +#include "TileBehavior.h" -class RedTileBehavior : public TileBehaviorStrategy { +class DeleteArtistTileBehavior : public TileBehavior { public: virtual void step(Artist *); virtual void update(Tile &); - virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &); + virtual std::unique_ptr<TileBehavior> clone(Museum &); static constexpr const char * type = "R"; private: - using TileBehaviorStrategy::TileBehaviorStrategy; - static RedTileBehavior instance; - RedTileBehavior() = default; + using TileBehavior::TileBehavior; + static DeleteArtistTileBehavior instance; + DeleteArtistTileBehavior() = default; }; |