private void generateBlankMap(int rows) {
                pointMap = new HashMap<Point, IsometricPoint>();

                int tmp_backwards = rows + 1;

                int tileRows = (rows * 2) - 1; // 9 rida kokku kui on 5x5 maatriks.
                int lastX = rows - 1;

                boolean decrease = false;

                for (int y = 0; y < tileRows; y++) {

                        if (y + 1 >= rows) {
                                decrease = true;
                                tmp_backwards--;
                        }

                        int tilesInRow = (y < rows - 1 ? y + 1 : (y + 1 == rows ? rows
                                        : tmp_backwards));

                        for (int x = 0; x < tilesInRow; x++) {
                                int tmp_x = lastX + 2 * x;
                                if (tmp_x > last_x) {
                                        last_x = tmp_x;
                                }
                                Point tmp = new Point(tmp_x, y);
                                pointMap.put(tmp, new IsometricPoint(tmp_x, y));
                        }
                        if (!decrease)
                                lastX--;
                        else
                                lastX++;
                }
                total_rows = tileRows;
        }