Mario: teleport to hardcoded level
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -340,4 +340,10 @@ public:
|
||||
std::shared_ptr<SDLPP::Renderer> &renderer);
|
||||
};
|
||||
|
||||
class TeleportModifierBlock : public MarioBlock {
|
||||
public:
|
||||
TeleportModifierBlock(int x, int y,
|
||||
std::shared_ptr<SDLPP::Renderer> &renderer);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user