Fixwhitespace
This commit is contained in:
parent
1d09a0fd3a
commit
4716e4d231
3 changed files with 5 additions and 5 deletions
|
@ -21,7 +21,7 @@ class Game
|
|||
public:
|
||||
Game();
|
||||
~Game();
|
||||
|
||||
|
||||
bool swipe(kbdh::Direction direction);
|
||||
void coutGrid();
|
||||
void popRandomNumber();
|
||||
|
|
|
@ -28,7 +28,7 @@ std::string Grid::description(){
|
|||
//Start to write description
|
||||
std::stringstream gridBorder;
|
||||
for(int i=0;i<(maxStrLen+2)*4+1;i++){
|
||||
gridBorder<<"-";
|
||||
gridBorder<<"-";
|
||||
}
|
||||
description << std::endl << gridBorder.str() << std::endl;
|
||||
for(int i=0;i<m_size;i++){
|
||||
|
@ -227,7 +227,7 @@ bool Grid::isFull(){
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -242,7 +242,7 @@ bool Grid::isOver(){
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for(int i=0;i<m_size;i++){
|
||||
std::vector<int> colVect(this->getCol(i));
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class Grid
|
|||
|
||||
bool setCell(std::tuple<int, int> coord, int value);
|
||||
bool setCell(int i, int j, int value);
|
||||
|
||||
|
||||
std::vector<int> swipeLine(std::vector<int> line);
|
||||
std::vector<int> defragmentLine(std::vector<int> line);
|
||||
std::vector<int> mergeLine(std::vector<int> line);
|
||||
|
|
Loading…
Add table
Reference in a new issue