mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-29 08:52:06 +00:00
@@ -20,7 +20,7 @@ namespace BBM
|
||||
{
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
|
||||
addMenuControl(*scene, sounds);
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace BBM
|
||||
WAL::Entity &Runner::createPlayer(WAL::Scene &scene)
|
||||
{
|
||||
std::map<SoundComponent::SoundIndex, std::string> soundPath ={
|
||||
{SoundComponent::JUMP, "assets/sounds/jump.wav"},
|
||||
{SoundComponent::BOMB, "assets/sounds/jump.wav"},
|
||||
{SoundComponent::MOVE, "assets/sounds/move.ogg"},
|
||||
{SoundComponent::BOMB, "assets/sounds/bomb_drop.ogg"},
|
||||
//{SoundComponent::DEATH, "assets/sounds/death.ogg"}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BBM
|
||||
{
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
|
||||
addMenuControl(*scene, sounds);
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace BBM
|
||||
std::shared_ptr<WAL::Scene> Runner::loadLobbyScene()
|
||||
{
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace BBM
|
||||
std::shared_ptr<WAL::Scene> Runner::loadMainMenuScene()
|
||||
{
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace BBM
|
||||
std::shared_ptr<WAL::Scene> Runner::loadPauseMenuScene()
|
||||
{
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace BBM
|
||||
std::shared_ptr<WAL::Scene> Runner::loadResumeLobbyScene()
|
||||
{
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace BBM
|
||||
std::vector<std::string> playersIconPath;
|
||||
std::vector<std::reference_wrapper<WAL::Entity>> players;
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
static const std::vector<RAY::Color> tilesColor = {
|
||||
GOLD, GRAY, BROWN, PURPLE
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace BBM
|
||||
{
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
|
||||
addMenuControl(*scene, sounds);
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BBM
|
||||
std::shared_ptr<WAL::Scene> Runner::loadTitleScreenScene()
|
||||
{
|
||||
static const std::map<SoundComponent::SoundIndex, std::string> sounds = {
|
||||
{SoundComponent::JUMP, "assets/sounds/click.ogg"}
|
||||
{SoundComponent::BOMB, "assets/sounds/click.ogg"}
|
||||
};
|
||||
auto scene = std::make_shared<WAL::Scene>();
|
||||
addMenuControl(*scene, sounds);
|
||||
|
||||
Reference in New Issue
Block a user