fixed some warning + one test

This commit is contained in:
HENRY Benjamin
2021-06-18 16:25:38 +02:00
parent 74f85373ac
commit 3c0d933b83
5 changed files with 13 additions and 30 deletions
+2
View File
@@ -12,6 +12,7 @@
#include "System/Movable/MovableSystem.hpp"
#include <Component/Controllable/ControllableComponent.hpp>
#include <Component/Movable/MovableComponent.hpp>
#include <Component/Speed/SpeedComponent.hpp>
using namespace WAL;
using namespace BBM;
@@ -24,6 +25,7 @@ TEST_CASE("Move test", "[Component][System]")
wal.getScene()->addEntity("player")
.addComponent<ControllableComponent>()
.addComponent<MovableComponent>()
.addComponent<SpeedComponent>()
.addComponent<PositionComponent>();
Entity &entity = wal.getScene()->getEntities().front();