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
+9 -10
View File
@@ -1,18 +1,17 @@
#ifndef Camera_h__
#define Camera_h__
#ifndef Components_Camera_h__
#define Components_Camera_h__
#include "Component.h"
namespace Components
{
struct Camera : Component
{
int FOV;
int NearClip;
int FarClip;
};
REGISTER_COMPONENT("Camera", Camera);
struct Camera : Component
{
int FOV;
int NearClip;
int FarClip;
};
}
#endif // !Camera_h__
#endif // !Components_Camera_h__