(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

@@ -15,7 +15,9 @@
#include <NDK/BaseSystem.hpp>
#include <NDK/Components/ListenerComponent.hpp>
#include <NDK/Components/NodeComponent.hpp>
#include <NDK/Components/VelocityComponent.hpp>
#include <NDK/Systems/ListenerSystem.hpp>
#include <NDK/Systems/VelocitySystem.hpp>
namespace Ndk
{
@@ -49,9 +51,11 @@ namespace Ndk
// Composants
InitializeComponent<ListenerComponent>("NdkList");
InitializeComponent<NodeComponent>("NdkNode");
InitializeComponent<VelocityComponent>("NdkVeloc");
// Systèmes
InitializeSystem<ListenerSystem>();
InitializeSystem<VelocitySystem>();
NazaraNotice("Initialized: SDK");
return true;