Tetris: use new API

This commit is contained in:
2021-04-29 13:25:55 +02:00
parent b52dee267b
commit 90dc26251b
5 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ void prepareShadowColider( std::shared_ptr< SDLPP::Renderer > r ) {
SDLPP::RectColider( 0.1, 0.01, 0.8, 0.98 ) );
g_shadow_colider->setId( COLIDER_ID );
g_shadow_colider->setStatic();
g_shadow_colider->centerX();
g_shadow_colider->setAlignment(SDLPP::OBJ_CENTER, SDLPP::OBJ_CENTER);
}
#ifdef _WIN32