Bandidos
|
Public Member Functions | |
RenderComponents (SpriteBatch sp, GameCamera mainCam, GameCamera hudCam) | |
void | resetCams () |
GameCamera | getMainCamera () |
GameCamera | getHudCamera () |
SpriteBatch | getSpriteBatch () |
void | update (float deltaTime) |
Contains the Render Components for the game. Including SpriteBatch and Cameras.
com.mygdx.game.engine.scenes.RenderComponents.RenderComponents | ( | SpriteBatch | sp, |
GameCamera | mainCam, | ||
GameCamera | hudCam | ||
) |
GameCamera com.mygdx.game.engine.scenes.RenderComponents.getHudCamera | ( | ) |
The camera which is responsible of drawing UI on the screen.
GameCamera com.mygdx.game.engine.scenes.RenderComponents.getMainCamera | ( | ) |
The camera which is responsible of drawing main assets of the game on the screen.
SpriteBatch com.mygdx.game.engine.scenes.RenderComponents.getSpriteBatch | ( | ) |
The drawing field for the game.
void com.mygdx.game.engine.scenes.RenderComponents.resetCams | ( | ) |
Resets all the cams back to their original state and position.
void com.mygdx.game.engine.scenes.RenderComponents.update | ( | float | deltaTime | ) |