diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
commit | 76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch) | |
tree | 92a2dc9b12a542456bdc154f44deb34925883210 /TileBehaviorStrategy.cpp | |
parent | 3f63576819151ff15237a9b4f0651c538cfef067 (diff) |
(1/2) rename
Diffstat (limited to 'TileBehaviorStrategy.cpp')
-rw-r--r-- | TileBehaviorStrategy.cpp | 8 |
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++; } |