Tetris: formatting

This commit is contained in:
2021-03-13 18:37:23 +01:00
parent 2f20661b5b
commit 594316dcea
5 changed files with 23 additions and 22 deletions
+3 -3
View File
@@ -40,8 +40,8 @@ public:
std::vector< std::shared_ptr< TetrisBlock > > &getObjects();
void setPos( double x, double y );
void setPos( const std::pair< double, double > &pos );
void setPos( const SDLPP::Vec2D<double> &vec );
SDLPP::Vec2D<double> getPos();
void setPos( const SDLPP::Vec2D< double > &vec );
SDLPP::Vec2D< double > getPos();
void clear();
void startDescend();
void stopDescend();
@@ -70,7 +70,7 @@ private:
std::vector< std::vector< int > > pieces_rel_position;
std::vector< std::shared_ptr< TetrisBlock > > pieces;
std::vector< SDLPP::Vec2D<double> > original_pos;
std::vector< SDLPP::Vec2D< double > > original_pos;
bool descend = false;
int userMovement = 0;
bool rotate_allowed = true;