aboutsummaryrefslogtreecommitdiffstats
path: root/include/components.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/components.hpp')
-rw-r--r--include/components.hpp21
1 files changed, 2 insertions, 19 deletions
diff --git a/include/components.hpp b/include/components.hpp
index 2215a64..3f06867 100644
--- a/include/components.hpp
+++ b/include/components.hpp
@@ -22,25 +22,8 @@
#include <tinyxml2.h>
using namespace tinyxml2;
-/**
- * @class Component
- * @brief A base class for all components, insures all components have similar
- * base functionalities.
- */
-class Component : public entityx::Component<Component> {
-public:
- /**
- * Constructs the component from the two given XML tags.
- *
- * Components can get information from two places: where the entity is defined
- * (it's implementation, e.g. in town.xml) or from the tag's definition (e.g. entities.xml).
- * The definition tag should be used for default values.
- *
- * @param imp tag for the implementation of the entity
- * @param def tag for the definition of the component
- */
- virtual void fromXML(XMLElement* imp, XMLElement* def) = 0;
-};
+// TODO heyyy guys
+#include <components/all.hpp>
/**
* @struct Position