component controllers

This commit is contained in:
benkyd
2022-06-08 15:56:36 +00:00
parent 27c8fe1291
commit 53a838ca20
7 changed files with 59 additions and 13 deletions

View File

@@ -4,6 +4,8 @@
#include <Aeon/Core/Events.hpp>
#include <Aeon/Rendering/ImGui.hpp>
#include <Aeon/Entity/ComponentController.hpp>
class BackgroundLevel : public Core::GameLayer {
};
@@ -104,8 +106,17 @@ public:
};
struct GenericComponent
{
int x,y;
};
int main( int argc, char** argv )
{
EC::ComponentController cController;
cController.Register<GenericComponent>();
ExampleGame game;
return 0;