diff options
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; }; |