game/tetris/scenes.hpp

29 lines
1.1 KiB
C++
Raw Normal View History

#ifndef TETRIS_MAIN_SCENE
#define TETRIS_MAIN_SCENE
2020-11-21 19:58:52 +00:00
#include "../sdlpp/sdlpp.hpp"
2020-11-21 19:58:52 +00:00
std::shared_ptr< SDLPP::Scene >
2021-01-30 20:35:25 +00:00
prepareMainScene( std::shared_ptr< SDLPP::Renderer > renderer );
2020-11-21 19:58:52 +00:00
std::shared_ptr< SDLPP::Scene >
2021-01-30 20:35:25 +00:00
prepareMenuScene( std::shared_ptr< SDLPP::Renderer > renderer );
2020-11-21 19:58:52 +00:00
std::shared_ptr< SDLPP::Scene >
2021-01-30 20:35:25 +00:00
prepareGameOverScene( std::shared_ptr< SDLPP::Renderer > renderer );
2020-11-21 19:58:52 +00:00
std::shared_ptr< SDLPP::Scene >
2021-01-30 20:35:25 +00:00
prepareOptionsScene( std::shared_ptr< SDLPP::Renderer > renderer );
2020-11-21 19:58:52 +00:00
void mainSceneInput(
std::shared_ptr< SDLPP::Scene > scene, int base,
std::vector< std::shared_ptr< SDLPP::RenderObject > > &line_coliders );
void menuSceneInput(
std::shared_ptr< SDLPP::Scene > scene, int base,
std::vector< std::shared_ptr< SDLPP::RenderObject > > &line_coliders );
void gameOverSceneInput(
std::shared_ptr< SDLPP::Scene > scene, int base,
std::vector< std::shared_ptr< SDLPP::RenderObject > > &line_coliders );
void optionsSceneInput(
std::shared_ptr< SDLPP::Scene > scene, int base,
std::vector< std::shared_ptr< SDLPP::RenderObject > > &line_coliders );
#endif