(NDK) Added Listener component and system

Former-commit-id: 0553c4ad9a7e33608e9ab91bd4ca8812272a6293
This commit is contained in:
Lynix
2015-04-12 19:38:38 +02:00
parent f290b8d886
commit f137a75267
11 changed files with 156 additions and 2 deletions

View File

@@ -26,9 +26,11 @@ namespace Ndk
public:
using EntityList = std::vector<EntityHandle>;
World() = default;
World(bool addDefaultSystems = true);
~World();
void AddDefaultSystems();
BaseSystem& AddSystem(std::unique_ptr<BaseSystem>&& system);
template<typename SystemType, typename... Args> SystemType& AddSystem(Args&&... args);