functional interface casting for component containers

This commit is contained in:
benkyd
2022-06-08 18:33:37 +00:00
parent 53a838ca20
commit 8717e3326b
6 changed files with 85 additions and 52 deletions

View File

@@ -106,17 +106,8 @@ public:
};
struct GenericComponent
{
int x,y;
};
int main( int argc, char** argv )
{
EC::ComponentController cController;
cController.Register<GenericComponent>();
ExampleGame game;
return 0;