123124125126127128129130131132133
Batch batch = this.batch; if (batch != null) { batch.setProjectionMatrix(camera.combined); batch.begin(); root.draw(batch, 1); batch.end(); } if (debug) drawDebug(); }