Refactored factory and component system.

This commit is contained in:
2014-03-07 01:08:54 +01:00
parent 18197bf21d
commit e65db077d5
30 changed files with 313 additions and 284 deletions
+4 -5
View File
@@ -1,13 +1,12 @@
#ifndef Template_h__
#define Template_h__
#ifndef Components_Template_h__
#define Components_Template_h__
#include "Component.h"
namespace Components
{
struct Template : Component { };
REGISTER_COMPONENT("Template", Template);
struct Template : Component { };
}
#endif // !Template_h__
#endif // !Components_Template_h__