Mario: simple blocks formatting
This commit is contained in:
parent
4742f3dd02
commit
a7aa86c8e3
@ -39,7 +39,7 @@ HillDotsLeftBlock::HillDotsLeftBlock(
|
||||
}
|
||||
|
||||
HillFillBlock::HillFillBlock( int x, int y,
|
||||
std::shared_ptr< SDLPP::Renderer > &renderer )
|
||||
std::shared_ptr< SDLPP::Renderer > &renderer )
|
||||
: MarioBlock( x, y, renderer, g_terrain_texture, HILL_FILL_SRC,
|
||||
false ) {
|
||||
setId( HILL_FILL_ID );
|
||||
@ -436,15 +436,20 @@ CannonBlock::CannonBlock( int x, int y,
|
||||
setId( CANNON_ID );
|
||||
}
|
||||
|
||||
DestructibleModifierBlock::DestructibleModifierBlock( int x, int y,
|
||||
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock( x, y, renderer, g_mod_texture, MOD_DESTRUCTIBLE_SRC, false ) {
|
||||
DestructibleModifierBlock::DestructibleModifierBlock(
|
||||
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer )
|
||||
: MarioBlock( x, y, renderer, g_mod_texture, MOD_DESTRUCTIBLE_SRC,
|
||||
false ) {
|
||||
setId( DESTRUCTIBLE_MODIFIER_ID );
|
||||
}
|
||||
BackgroundModifierBlock::BackgroundModifierBlock( int x, int y,
|
||||
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock (x, y, renderer, g_mod_texture, MOD_BACKGROUND_SRC, false ) {
|
||||
BackgroundModifierBlock::BackgroundModifierBlock(
|
||||
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer )
|
||||
: MarioBlock( x, y, renderer, g_mod_texture, MOD_BACKGROUND_SRC,
|
||||
false ) {
|
||||
setId( BACKGROUND_MODIFIER_ID );
|
||||
}
|
||||
MushroomModifierBlock::MushroomModifierBlock( int x, int y,
|
||||
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock (x, y, renderer, g_mod_texture, MOD_MUSHROOM_SRC, false ) {
|
||||
MushroomModifierBlock::MushroomModifierBlock(
|
||||
int x, int y, std::shared_ptr< SDLPP::Renderer > &renderer )
|
||||
: MarioBlock( x, y, renderer, g_mod_texture, MOD_MUSHROOM_SRC, false ) {
|
||||
setId( MUSHROOM_MODIFIER_ID );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user