Fixwhitespace

This commit is contained in:
manzerbredes 2015-05-02 23:11:36 +02:00
parent 1d09a0fd3a
commit 4716e4d231
3 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ class Game
public:
Game();
~Game();
bool swipe(kbdh::Direction direction);
void coutGrid();
void popRandomNumber();

View file

@ -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));

View file

@ -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);