summary refs log tree commit diff stats
path: root/src/entityfactory.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-19 16:15:47 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-19 16:15:47 -0400
commit4b4125e234cb727c70822e0a1fce0688c357741e (patch)
tree5b446ebe6f0454304d4202368bd18fba3f629d3d /src/entityfactory.h
parent281bdf956a646fd8c9944e9a44f867c984792216 (diff)
downloadtherapy-4b4125e234cb727c70822e0a1fce0688c357741e.tar.gz
therapy-4b4125e234cb727c70822e0a1fce0688c357741e.tar.bz2
therapy-4b4125e234cb727c70822e0a1fce0688c357741e.zip
Implemented a simple AI
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