aboutsummaryrefslogtreecommitdiff
path: root/TileBehavior.h
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 /TileBehavior.h
parent3f63576819151ff15237a9b4f0651c538cfef067 (diff)
(1/2) rename
Diffstat (limited to 'TileBehavior.h')
-rw-r--r--TileBehavior.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/TileBehavior.h b/TileBehavior.h
index 2298c07..33cd795 100644
--- a/TileBehavior.h
+++ b/TileBehavior.h
@@ -3,14 +3,14 @@
#include <map>
#include <string>
-#include "TileBehaviorStrategy.h"
+#include "TileBehavior.h"
-class TileBehavior {
- typedef std::map<std::string, TileBehaviorStrategy *> TileBehaviorCollection;
+class TileBehaviorFactory {
+ typedef std::map<std::string, TileBehavior *> TileBehaviorCollection;
public:
- static TileBehaviorStrategy & get_strategy(std::string);
- static void register_strategy(std::string, TileBehaviorStrategy *);
+ static TileBehavior & get_strategy(std::string);
+ static void register_strategy(std::string, TileBehavior *);
private:
static TileBehaviorCollection & get_collection() {