Level movement with Tile array?

Hello!

The plan is to have a scrolling level that as most of them, gives the illusion of the player moving, but it is in fact the level moving. The current issue is that the background/player move around but no new parts of the map show (as seen in the gyfcat).

Here is the Camera and Level class:
https://gist.github.com/AndreasElia/721e3e7a964c140b2387

Here is a gyfcat of what it currently does:

Here is the Level render method (the main part I believe?):


	public void render(Graphics g, Camera camera) {
		for (int y = (int) ((camera.getY() / Level.tileSize) - 2); y < ((camera.getY() + Main.getHei()) / Level.tileSize) + 2; y++) {
			for (int x = (int) ((camera.getX() / Level.tileSize) - 2); x < ((camera.getX() + Main.getWid()) / Level.tileSize) + 2; x++) {
				if (x >= 0 && x <= mapSize && y >= 0 && y <= mapSize) {
					level[x][y].render(g);
				}
			}
		}
	}

And also the Camera tick method (also an important part):


	public void tick() {
		if (input.getKey("W")) {
			y += Level.tileSize;
		} else if (input.getKey("S")) {
			y -= Level.tileSize;
		}

		if (input.getKey("A")) {
			x += Level.tileSize;
		} else if (input.getKey("D")) {
			x -= Level.tileSize;
		}
	}