Package com.mygdx.game.Managers
Class RenderingManager
- java.lang.Object
- 
- com.mygdx.game.Managers.RenderingManager
 
- 
 public final class RenderingManager extends java.lang.ObjectResponsible for all rending. Renders in layers render item layers can't be changed holds the primary sprite batch and rendering camera
- 
- 
Constructor SummaryConstructors Constructor Description RenderingManager()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddItem(Component item, RenderLayer layer)adds item to the list of renderable and adds to the correct layerstatic voidcleanUp()static com.badlogic.gdx.graphics.g2d.SpriteBatchgetBatch()static com.badlogic.gdx.graphics.OrthographicCameragetCamera()static voidInitialize()static voidrender()Renders all items in accordance with their layers on one sprite batch
 
- 
- 
- 
Method Detail- 
Initializepublic static void Initialize() 
 - 
getCamerapublic static com.badlogic.gdx.graphics.OrthographicCamera getCamera() 
 - 
addItempublic static void addItem(Component item, RenderLayer layer) adds item to the list of renderable and adds to the correct layer- Parameters:
- item- component that utilises render
- layer- the layer that it will be rendered in
 
 - 
renderpublic static void render() Renders all items in accordance with their layers on one sprite batch
 - 
cleanUppublic static void cleanUp() 
 - 
getBatchpublic static com.badlogic.gdx.graphics.g2d.SpriteBatch getBatch() 
 
- 
 
-