diff options
Diffstat (limited to 'BlueTileBehavior.h')
-rw-r--r-- | BlueTileBehavior.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/BlueTileBehavior.h b/BlueTileBehavior.h index 15257b3..d316420 100644 --- a/BlueTileBehavior.h +++ b/BlueTileBehavior.h @@ -1,19 +1,19 @@ #pragma once -#include "TileBehaviorStrategy.h" +#include "TileBehavior.h" -class BlueTileBehavior : public TileBehaviorStrategy { +class SetNeighborTileBehavior : 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 = "B"; private: - using TileBehaviorStrategy::TileBehaviorStrategy; - static BlueTileBehavior instance; - BlueTileBehavior() = default; + using TileBehavior::TileBehavior; + static SetNeighborTileBehavior instance; + SetNeighborTileBehavior() = default; private: int dx = 0; |