New boss scene that's really just a pixelated photo bash done quickly.

This commit is contained in:
Zed A. Shaw 2025-10-12 14:05:30 -04:00
parent ca38b58450
commit 7f10c5b3d7
10 changed files with 37 additions and 29 deletions

View file

@ -38,7 +38,7 @@ TEST_CASE("make sure json_mods works", "[components]") {
if(comp_data["_type"] == "BossFight") {
auto comp = components::convert<components::BossFight>(comp_data);
// the boss fight for the rat king doesn't have a stage so false=optional
REQUIRE(comp.floor != std::nullopt);
REQUIRE(comp.floor == std::nullopt);
}
}
@ -51,5 +51,5 @@ TEST_CASE("make sure json_mods works", "[components]") {
components::configure_entity(world, rat_king, config["RAT_KING"]["components"]);
auto boss = world.get<BossFight>(rat_king);
REQUIRE(boss.floor != std::nullopt);
REQUIRE(boss.floor == std::nullopt);
}