From 44324ba5d6cac01048cc5cbecbff255ee56f2fc0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 14 Mar 2015 16:13:11 -0400 Subject: Wrote simple factory to read map and entity data from XML files --- src/entityfactory.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/entityfactory.h (limited to 'src/entityfactory.h') 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 @@ +#ifndef ENTITYFACTORY_H +#define ENTITYFACTORY_H + +#include "entity.h" +#include +#include +#include +#include "map.h" + +class EntityFactory { + public: + static std::shared_ptr createNamedEntity(const std::string name, const Map& map); +}; + +#endif -- cgit 1.4.1