Mario: add MapObject and use that instead of tuples
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ int main() {
|
||||
leftStop->setColiderColor( "#FF00FF" );
|
||||
scene->addObject( leftStop );
|
||||
|
||||
loadMap( scene, mario, "test_binary2.bin", renderer );
|
||||
loadMap( scene, mario, "test_binary2.bin" );
|
||||
|
||||
auto font = std::make_shared< SDLPP::Font >( "testfont.ttf", 36 );
|
||||
fps = std::make_shared<SDLPP::TextRenderer>(0.2, 0, 0.78, 0.1, renderer, font, "0fps", "#FFFFFF", "#000000", 0.1, SDLPP_TEXT_RIGHT);
|
||||
|
||||
Reference in New Issue
Block a user