aboutsummaryrefslogtreecommitdiff
path: root/TileBehaviorStrategy.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 /TileBehaviorStrategy.cpp
parent3f63576819151ff15237a9b4f0651c538cfef067 (diff)
(1/2) rename
Diffstat (limited to 'TileBehaviorStrategy.cpp')
-rw-r--r--TileBehaviorStrategy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TileBehaviorStrategy.cpp b/TileBehaviorStrategy.cpp
index 99566b8..9de896e 100644
--- a/TileBehaviorStrategy.cpp
+++ b/TileBehaviorStrategy.cpp
@@ -1,11 +1,11 @@
+#include "TileBehaviorFactory.h"
#include "TileBehavior.h"
-#include "TileBehaviorStrategy.h"
-TileBehaviorStrategy::TileBehaviorStrategy(const std::string type) {
- TileBehavior::register_strategy(type, this);
+TileBehavior::TileBehavior(const std::string type) {
+ TileBehaviorFactory::register_strategy(type, this);
}
-void TileBehaviorStrategy::step(Artist *) {
+void TileBehavior::step(Artist *) {
this->interactions++;
}