public void move(int dir, boolean didPlayerSend){
		int[][] gameBoard= game.getBoard();
		if (checkCell(dir))
			moveToCell(dir, gameBoard);
		else if (didPlayerSend)
			this.savedDir= dir;
		else {
			if (this.savedDir != dir)
				this.savedDir= dir;
			else
				this.savedDir= -1;
		}
	}