diff options
Diffstat (limited to 'src/entityfactory.h')
-rw-r--r-- | src/entityfactory.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/entityfactory.h b/src/entityfactory.h new file mode 100644 index 0000000..a35b5f7 --- /dev/null +++ b/src/entityfactory.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef ENTITYFACTORY_H | ||
2 | #define ENTITYFACTORY_H | ||
3 | |||
4 | #include "entity.h" | ||
5 | #include <memory> | ||
6 | #include <string> | ||
7 | #include <map> | ||
8 | #include "map.h" | ||
9 | |||
10 | class EntityFactory { | ||
11 | public: | ||
12 | static std::shared_ptr<Entity> createNamedEntity(const std::string name, const Map& map); | ||
13 | }; | ||
14 | |||
15 | #endif | ||