summary refs log tree commit diff stats
path: root/src/entityfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entityfactory.h')
-rw-r--r--src/entityfactory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entityfactory.h b/src/entityfactory.h index 870d6d5..56f7216 100644 --- a/src/entityfactory.h +++ b/src/entityfactory.h
@@ -2,13 +2,14 @@
2#define ENTITYFACTORY_H 2#define ENTITYFACTORY_H
3 3
4#include <string> 4#include <string>
5#include <map>
5 6
6class Entity; 7class Entity;
7class Map; 8class Map;
8 9
9class EntityFactory { 10class EntityFactory {
10 public: 11 public:
11 static std::shared_ptr<Entity> createNamedEntity(const std::string name); 12 static std::shared_ptr<Entity> createNamedEntity(const std::string name, const std::map<std::string, int>& items);
12}; 13};
13 14
14#endif 15#endif