Add ecs ComponentListener

- Add ecs ComponentListener which listens to Component addition and
  removal
- Add RefCounter class used to keep track of moves and copies
This commit is contained in:
Thraix
2023-05-29 17:49:37 +02:00
parent 5a615ecc4e
commit 3ec9bcd152
24 changed files with 351 additions and 70 deletions
+2 -3
View File
@@ -16,10 +16,9 @@ int main(int argc, char** argv)
Copium::Application application;
while (application.Update())
{
glfwPollEvents();
Copium::EventDispatcher::Dispatch();
Copium::Input::Update();
glfwPollEvents();
Copium::EventDispatcher::Dispatch();
}
}
Copium::Vulkan::Destroy();