Mario editor: switching between blocks

This commit is contained in:
2021-05-02 14:28:17 +02:00
parent 96857a99af
commit 8b8f3b7f06
2 changed files with 17 additions and 2 deletions
+2
View File
@@ -28,4 +28,6 @@ std::shared_ptr<SDLPP::RectangleRender> createTerrainBlock( uint64_t block_id, B
std::shared_ptr<SDLPP::RectangleRender> createTerrainBlock( uint64_t block_id, BlockType type, std::shared_ptr<SDLPP::Renderer> &renderer, int x, int y, std::shared_ptr<SDLPP::Texture> texture, bool collision = false );
std::shared_ptr<SDLPP::RectangleRender> createMario( BlockType type, std::shared_ptr<SDLPP::Renderer> &renderer, int x, int y );
SDL_Rect getSourceRectByID( uint64_t id, BlockType type );
#endif