aboutsummaryrefslogtreecommitdiff
path: root/NullTileBehavior.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NullTileBehavior.cpp')
-rw-r--r--NullTileBehavior.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NullTileBehavior.cpp b/NullTileBehavior.cpp
index 3e671bc..7a056a4 100644
--- a/NullTileBehavior.cpp
+++ b/NullTileBehavior.cpp
@@ -8,9 +8,9 @@ NullTileBehavior NullTileBehavior::instance { NullTileBehavior::type };
void NullTileBehavior::update(Tile &) { }
-unique_ptr<TileBehaviorStrategy> NullTileBehavior::clone(Museum & museum) {
+unique_ptr<TileBehavior> NullTileBehavior::clone(Museum & museum) {
auto instance = new NullTileBehavior();
instance->museum = &museum;
- return unique_ptr<TileBehaviorStrategy>(instance);
+ return unique_ptr<TileBehavior>(instance);
}