(NDK) Added Velocity component/system

Former-commit-id: 427b7175fbf9723fcd1d54fc279b8b70167745d4
This commit is contained in:
Lynix
2015-04-12 23:19:53 +02:00
parent 2ab0defa48
commit ead468525e
8 changed files with 128 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
#include <NDK/World.hpp>
#include <Nazara/Core/Error.hpp>
#include <NDK/Systems/ListenerSystem.hpp>
#include <NDK/Systems/VelocitySystem.hpp>
namespace Ndk
{
@@ -17,6 +18,7 @@ namespace Ndk
void World::AddDefaultSystems()
{
AddSystem<ListenerSystem>();
AddSystem<VelocitySystem>();
}
const EntityHandle& World::CreateEntity()