List of usage examples for com.badlogic.gdx.scenes.scene2d Stage getBatch
public Batch getBatch()
From source file:com.sixth.fodder.graphics.Fodder.java
public static Stage getStage() { final Stage stage; final ScalingViewport view; view = new ScalingViewport(Scaling.none, RoadGenerator.getMapWidth() * Cell.getSizeInPix(), RoadGenerator.getMapHeight() * Cell.getSizeInPix(), game.camera); stage = new Stage(view); stage.getBatch().setProjectionMatrix(game.camera.combined); return stage; }