2728293031323334353637
this.world = world; width = Gdx.graphics.getWidth() / 40; height = Gdx.graphics.getHeight() / 40; cam = new OrthographicCamera(); cam.setToOrtho(false, width, height); cam.update(); batch = new SpriteBatch(); batch.setProjectionMatrix(cam.combined);