Merge branch 'develop' of github.com:AnonymusRaccoon/Bomberman into soundfix

This commit is contained in:
arthur.jamet
2021-06-20 13:33:52 +02:00
11 changed files with 67 additions and 62 deletions
+1 -2
View File
@@ -77,7 +77,7 @@ namespace BBM
return;
LobbySystem::switchToGame(wal);
})
.addComponent<TagComponent<"PlayButton">>();
.addComponent<TagComponent<PlayButton>>();
auto &back = scene->addEntity("back to menu")
.addComponent<PositionComponent>(10, 1080 - 85, 0)
.addComponent<Drawable2DComponent, RAY::Texture>("assets/buttons/button_back.png")
@@ -186,7 +186,6 @@ namespace BBM
.addComponent<Drawable2DComponent, RAY::Texture>("assets/player/icons/none.png");
auto &ready = scene->addEntity("ready")
.addComponent<PositionComponent>(224 * (i + 1) + 200 * i, 1080 / 3 - 50, 0)
// todo check why it does this | hacky way to fix ready texture
.addComponent<Drawable2DComponent, RAY::Texture>();
player.addComponent<LobbyComponent>(i, ready, playerTile);
}