Mario: teleport to hardcoded level

This commit is contained in:
2022-11-13 19:52:39 +01:00
parent 41ba43ed93
commit c5283000c7
14 changed files with 171 additions and 54 deletions
+6
View File
@@ -464,3 +464,9 @@ MushroomModifierBlock::MushroomModifierBlock(
: MarioBlock(x, y, renderer, g_mod_texture, MOD_MUSHROOM_SRC, false) {
setId(MUSHROOM_MODIFIER_ID);
}
TeleportModifierBlock::TeleportModifierBlock(
int x, int y, std::shared_ptr<SDLPP::Renderer> &renderer)
: MarioBlock(x, y, renderer, g_mod_texture, MOD_TELEPORT_SRC, false) {
setId(MUSHROOM_MODIFIER_ID);
}