public void initTestMap() {

        for (int x = 0; x < chunkAmount; x++) {
            for (int y = 0; y < chunkAmount; y++) {
                chunks[x][y] = new Chunk();
                chunks[x][y].create(x, y);
            }
        }

        for (int x = 1; x < jps.grid.grid.length - 1; x++) {
            for (int y = 1; y < jps.grid.grid[0].length - 1; y++) {
                if (rand.nextInt(10) == 0) {
                    // if (jps.grid.grid[x][y].isPass() && jps.grid.grid[x - 1][y].isPass() && jps.grid.grid[x][y - 1].isPass() && jps.grid.grid[x - 1][y - 1].isPass()) {
                    if (jps.grid.grid[x][y].standing == null && jps.grid.grid[x - 1][y].standing == null && jps.grid.grid[x][y - 1].standing == null && jps.grid.grid[x - 1][y - 1].standing == null) {
                        EntityManager.addEntity(new Tree(x, y));
                    } else {
                        jps.grid.grid[x][y].setPassable(true);
                    }
                } else {
                    jps.grid.grid[x][y].setPassable(true);
                }
            }
        }
    }