diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-02 23:11:36 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-05-02 23:11:36 +0200 |
| commit | 4716e4d231a26c45fa7d4e38a79f4f44c3b8348a (patch) | |
| tree | af2743ac133d733ecfb56cf72f738a837a815dff | |
| parent | 1d09a0fd3ae35ccf51a3b5f929f77a8c8850712c (diff) | |
Fixwhitespace
| -rw-r--r-- | src/Model/Game.hpp | 2 | ||||
| -rw-r--r-- | src/Model/Grid.cpp | 6 | ||||
| -rw-r--r-- | src/Model/Grid.hpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Model/Game.hpp b/src/Model/Game.hpp index ab19340..040885d 100644 --- a/src/Model/Game.hpp +++ b/src/Model/Game.hpp @@ -21,7 +21,7 @@ class Game public: Game(); ~Game(); - + bool swipe(kbdh::Direction direction); void coutGrid(); void popRandomNumber(); diff --git a/src/Model/Grid.cpp b/src/Model/Grid.cpp index 3a8a075..30193dd 100644 --- a/src/Model/Grid.cpp +++ b/src/Model/Grid.cpp @@ -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)); diff --git a/src/Model/Grid.hpp b/src/Model/Grid.hpp index 21c653a..2f5160e 100644 --- a/src/Model/Grid.hpp +++ b/src/Model/Grid.hpp @@ -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); |
