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,
|
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,
|
: MarioBlock( x, y, renderer, g_terrain_texture, HILL_FILL_SRC,
|
||||||
false ) {
|
false ) {
|
||||||
setId( HILL_FILL_ID );
|
setId( HILL_FILL_ID );
|
||||||
@ -436,15 +436,20 @@ CannonBlock::CannonBlock( int x, int y,
|
|||||||
setId( CANNON_ID );
|
setId( CANNON_ID );
|
||||||
}
|
}
|
||||||
|
|
||||||
DestructibleModifierBlock::DestructibleModifierBlock( int x, int y,
|
DestructibleModifierBlock::DestructibleModifierBlock(
|
||||||
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock( x, y, renderer, g_mod_texture, MOD_DESTRUCTIBLE_SRC, false ) {
|
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 );
|
setId( DESTRUCTIBLE_MODIFIER_ID );
|
||||||
}
|
}
|
||||||
BackgroundModifierBlock::BackgroundModifierBlock( int x, int y,
|
BackgroundModifierBlock::BackgroundModifierBlock(
|
||||||
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock (x, y, renderer, g_mod_texture, MOD_BACKGROUND_SRC, false ) {
|
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 );
|
setId( BACKGROUND_MODIFIER_ID );
|
||||||
}
|
}
|
||||||
MushroomModifierBlock::MushroomModifierBlock( int x, int y,
|
MushroomModifierBlock::MushroomModifierBlock(
|
||||||
std::shared_ptr< SDLPP::Renderer > &renderer ) : MarioBlock (x, y, renderer, g_mod_texture, MOD_MUSHROOM_SRC, false ) {
|
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 );
|
setId( MUSHROOM_MODIFIER_ID );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user