Class GameViewWithCamera
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.GameView
-
- com.bombinggames.wurfelengine.extension.basicmainmenu.GameViewWithCamera
-
- All Implemented Interfaces:
GameManager
public class GameViewWithCamera extends GameView
A simple Controller which adds a camera.
-
-
Constructor Summary
Constructors Constructor Description GameViewWithCamera()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Controller controller, GameView oldView)
Loades some files and set up everything when the engine is running.-
Methods inherited from class com.bombinggames.wurfelengine.core.GameView
addCamera, classInit, dispose, drawString, drawString, enter, exit, getCameras, getController, getEqualizationScale, getGameSpaceSpriteBatch, getLoadMenu, getProjectionSpaceSpriteBatch, getRenderStorage, getShader, getShapeRenderer, getStage, isInitalized, isUsingDefaultShader, loadShaders, onEnter, preUpdate, render, resetProjectionMatrix, resize, screenToGame, screenToGameBasic, screenXtoView, screenYtoView, setRenderStorage, setShader, update, useDefaultShader, viewToScreenX, viewToScreenY
-
-
-
-
Method Detail
-
init
public void init(Controller controller, GameView oldView)
Description copied from class:GameView
Loades some files and set up everything when the engine is running. After this has been inactive useGameView.onEnter()
This method is a an implementation of the Setter Injection pattern.- Overrides:
init
in classGameView
- Parameters:
controller
- The dependent data controller used for the view. Can be null but should not.oldView
- The view used before. Can be null.- See Also:
GameView.onEnter()
-
-