TETRIS: use new sdlpp library
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
#ifndef TETRIS_FUNCTIONS_H
|
||||
#define TETRIS_FUNCTIONS_H
|
||||
|
||||
#include "../sdlpp.hpp"
|
||||
#include "../sdlpp/sdlpp.hpp"
|
||||
#include "custom_classes.hpp"
|
||||
|
||||
void moveThem( std::shared_ptr< SDLPP::Scene > scene, int ticks );
|
||||
bool validPos(SDLPP::Scene &scene, std::shared_ptr<TetrisPiece> piece);
|
||||
void updateShadow(SDLPP::Scene &scene);
|
||||
bool validPos( SDLPP::Scene &scene, std::shared_ptr< TetrisPiece > piece );
|
||||
void updateShadow( SDLPP::Scene &scene );
|
||||
void quitGame();
|
||||
void resetGame();
|
||||
bool checkRotation( std::shared_ptr<TetrisPiece> piece, SDLPP::Scene &scene );
|
||||
bool checkRotation( std::shared_ptr< TetrisPiece > piece, SDLPP::Scene &scene );
|
||||
|
||||
std::shared_ptr< TetrisPiece >
|
||||
tetrisBrick( std::shared_ptr< SDLPP::Renderer > renderer,
|
||||
|
||||
Reference in New Issue
Block a user