aboutsummaryrefslogtreecommitdiff
path: root/NullTileBehavior.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:43:25 +0200
commit76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch)
tree92a2dc9b12a542456bdc154f44deb34925883210 /NullTileBehavior.cpp
parent3f63576819151ff15237a9b4f0651c538cfef067 (diff)
(1/2) rename
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);
}