Handle windows and EnTT with application components

This commit is contained in:
SirLynix
2023-01-21 12:03:02 +01:00
committed by Jérôme Leclercq
parent 18851c9185
commit da9eb14ebe
16 changed files with 287 additions and 65 deletions

View File

@@ -26,7 +26,11 @@ namespace Nz
~ApplicationBase() = default;
template<typename T, typename... Args> T& AddComponent(Args&&... args);
inline void AddComponent(std::unique_ptr<ApplicationComponent>&& component);
inline void ClearComponents();
template<typename T> T* GetComponent();
template<typename T> const T* GetComponent() const;
int Run();