aboutsummaryrefslogtreecommitdiff
path: root/TileBehavior.h
diff options
context:
space:
mode:
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() {