summary refs log tree commit diff stats
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-14 16:13:11 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-14 16:13:11 -0400
commit44324ba5d6cac01048cc5cbecbff255ee56f2fc0 (patch)
tree63e859067d214bfccf1d75520e1cedece0e91963 /src/entity.cpp
parent5990e7802c84b3f407de3934a1d75721115d1da7 (diff)
downloadtherapy-44324ba5d6cac01048cc5cbecbff255ee56f2fc0.tar.gz
therapy-44324ba5d6cac01048cc5cbecbff255ee56f2fc0.tar.bz2
therapy-44324ba5d6cac01048cc5cbecbff255ee56f2fc0.zip
Wrote simple factory to read map and entity data from XML files
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 2b6cd7f..0ede567 100644 --- a/src/entity.cpp +++ b/src/entity.cpp
@@ -1,4 +1,7 @@
1#include "entity.h" 1#include "entity.h"
2#include <libxml/parser.h>
3#include "components.h"
4#include "muxer.h"
2 5
3void Entity::addComponent(std::shared_ptr<Component> c) 6void Entity::addComponent(std::shared_ptr<Component> c)
4{ 7{