Commit f906f1ca authored by Kevin Balz's avatar Kevin Balz

beat missed effect

parent 8b9846bb
Pipeline #3449 failed with stage
in 3 minutes and 27 seconds
......@@ -7,6 +7,7 @@
"enemy_hit": ["enemy_hit_1", "enemy_hit_2", "enemy_hit_3", "enemy_hit_4", "enemy_hit_5"],
"gameover": ["gameover"],
"damaged": ["player_damaged"],
"win": ["win", "win2"]
"win": [ "win", "win2" ],
"beat_missed": ["beat_missed"]
}
}
......@@ -94,6 +94,11 @@ namespace phase_shifter::ui {
_bus.send<Play_sound_msg>("gameover"_strid);
// TODO
});
_mailbox.subscribe_to([&](phase_shifter::gameplay::Beat_missed_msg& e) {
_bus.send<Play_sound_msg>("beat_missed"_strid);
// TODO
});
}
void Effect_system::update(mirrage::util::Time dt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment