TETRIS: change menu background, slightly alter checking for full lines
This commit is contained in:
@@ -45,6 +45,8 @@ void updateShadow(SDLPP::Scene &scene) {
|
||||
}
|
||||
|
||||
void moveThem( std::shared_ptr< SDLPP::Scene > scene, int ticks ) {
|
||||
if ( !g_cur_object )
|
||||
return;
|
||||
auto movement = g_cur_object->getMovement();
|
||||
g_ticks_till_fall -= ticks;
|
||||
if ( g_cur_object->isDescending() )
|
||||
|
||||
Reference in New Issue
Block a user