Correct LOT OF BUGS
This commit is contained in:
parent
a2ed149069
commit
e13d24b6c8
6 changed files with 13 additions and 7 deletions
|
@ -8,6 +8,7 @@
|
|||
* Date : 29/04/2015 */
|
||||
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "Grid.hpp"
|
||||
|
||||
|
@ -26,4 +27,4 @@ class Game
|
|||
bool isOver();
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -75,17 +75,17 @@ void Grid::move(Direction direction)
|
|||
{
|
||||
switch (direction)
|
||||
{
|
||||
case Direction::UP:
|
||||
case UP:
|
||||
|
||||
break;
|
||||
|
||||
case Direction::DOWN:
|
||||
case DOWN:
|
||||
break;
|
||||
|
||||
case Direction::LEFT:
|
||||
case LEFT:
|
||||
break;
|
||||
|
||||
case Direction::RIGHT:
|
||||
case RIGHT:
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue