@Override
	public void Update(int delta, Input input) {
		mx = input.getMouseX();
		my = input.getMouseY();

		if (input.isKeyPressed(Input.KEY_NUMPAD0)) {
			renderGround = !renderGround;
		}
		if (input.isKeyPressed(Input.KEY_NUMPAD1)) {
			renderObjects = !renderObjects;
		}
		if (input.isKeyPressed(Input.KEY_NUMPAD2)) {
			map = new Map("res/maps/test2.json");
		}

		player.update(delta, input);

		updateTileRenderStart();
	}