Ndk: Added EntityList

Former-commit-id: f68c3830e59f460b06e23dbacc150c17937491df
This commit is contained in:
Lynix
2015-05-04 00:25:54 +02:00
parent da36f95b7c
commit 58416694d4
4 changed files with 186 additions and 17 deletions

View File

@@ -8,6 +8,7 @@
#define NDK_SYSTEMS_PHYSICSSYSTEM_HPP
#include <Nazara/Physics/PhysWorld.hpp>
#include <NDK/EntityList.hpp>
#include <NDK/System.hpp>
namespace Ndk
@@ -29,8 +30,8 @@ namespace Ndk
private:
void OnEntityValidation(Entity* entity, bool justAdded) override;
std::vector<EntityHandle> m_dynamicObjects;
std::vector<EntityHandle> m_staticObjects;
EntityList m_dynamicObjects;
EntityList m_staticObjects;
NzPhysWorld m_world;
};
}