mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-24 07:11:13 +00:00
Merging with develop and reworking all systems
This commit is contained in:
@@ -20,7 +20,7 @@ using namespace BBM;
|
||||
TEST_CASE("Collision test", "[Component][System]")
|
||||
{
|
||||
Wal wal;
|
||||
CollisionSystem collision(<#initializer#>, wal);
|
||||
CollisionSystem collision(wal);
|
||||
wal.scene = std::make_shared<Scene>();
|
||||
wal.scene->addEntity("player")
|
||||
.addComponent<PositionComponent>()
|
||||
@@ -63,8 +63,8 @@ TEST_CASE("Collision test", "[Component][System]")
|
||||
TEST_CASE("Collsion test with movable", "[Component][System]")
|
||||
{
|
||||
Wal wal;
|
||||
CollisionSystem collision(<#initializer#>, wal);
|
||||
MovableSystem movable;
|
||||
CollisionSystem collision(wal);
|
||||
MovableSystem movable(wal);
|
||||
wal.scene = std::make_shared<Scene>();
|
||||
wal.scene->addEntity("player")
|
||||
.addComponent<PositionComponent>()
|
||||
|
||||
Reference in New Issue
Block a user