Uses of Class
com.bombinggames.wurfelengine.core.GameView
-
Packages that use GameView Package Description com.bombinggames.wurfelengine com.bombinggames.wurfelengine.core com.bombinggames.wurfelengine.core.gameobjects Game Objects are objects like entities and block which can be found in the map.com.bombinggames.wurfelengine.core.lightengine com.bombinggames.wurfelengine.core.map com.bombinggames.wurfelengine.core.map.rendering com.bombinggames.wurfelengine.core.sorting com.bombinggames.wurfelengine.extension This package includes various extensions and tools to the engine.com.bombinggames.wurfelengine.extension.basicmainmenu This package provides a basic main menu to start a game instance.com.bombinggames.wurfelengine.mapeditor com.bombinggames.wurfelengine.soundengine -
-
Uses of GameView in com.bombinggames.wurfelengine
Methods in com.bombinggames.wurfelengine with parameters of type GameView Modifier and Type Method Description static voidWE. initAndStartGame(LoadingScreen customLoadingScreen, Controller controller, GameView view)Initialize the main game with you custom controller and view.static voidWE. switchSetup(Controller controller, GameView view)static voidWE. switchSetupWithInit(Controller controller, GameView view)Use different controller and views, which reinitializes them.static voidWE. switchView(GameView view, boolean editor) -
Uses of GameView in com.bombinggames.wurfelengine.core
Methods in com.bombinggames.wurfelengine.core that return GameView Modifier and Type Method Description GameViewCamera. getGameView()GameViewGameplayScreen. getView()Get the current active view.Methods in com.bombinggames.wurfelengine.core with parameters of type GameView Modifier and Type Method Description voidGameView. init(Controller controller, GameView oldView)Loades some files and set up everything when the engine is running.voidCamera. render(GameView view)Renders the viewportvoidDevTools. render(GameView view)Renders the diagramm.voidGameplayScreen. setView(GameView view)Set the currently used active view.Constructors in com.bombinggames.wurfelengine.core with parameters of type GameView Constructor Description Camera(GameView view)Creates a fullscale camera pointing at the middle of the map.Camera(GameView view, int x, int y, int width, int height)Creates a camera pointing at the middle of the map.Camera(GameView view, int x, int y, int width, int height, AbstractEntity focusentity)Creates a camera focusing an entity.Camera(GameView view, int x, int y, int width, int height, Point center)Create a camera focusin a specific coordinate.GameplayScreen(Controller controller, GameView view)Create the gameplay state. -
Uses of GameView in com.bombinggames.wurfelengine.core.gameobjects
Methods in com.bombinggames.wurfelengine.core.gameobjects with parameters of type GameView Modifier and Type Method Description voidAbstractGameObject. render(GameView view)Draws an object if it is not hidden and not clipped.voidAbstractGameObject. render(GameView view, int xPos, int yPos)Renders at a custom position in projection space. uses heapvoidEntityShadow. render(GameView view)voidCursor. update(GameView view, int screenX, int screenY)Updates the selection using the screen position of the cursor.Constructors in com.bombinggames.wurfelengine.core.gameobjects with parameters of type GameView Constructor Description PointLightSource(com.badlogic.gdx.graphics.Color color, float maxRadius, float brightness, GameView view) -
Uses of GameView in com.bombinggames.wurfelengine.core.lightengine
Methods in com.bombinggames.wurfelengine.core.lightengine with parameters of type GameView Modifier and Type Method Description voidLightEngine. render(GameView view, Position pos)Shows the data of the light engine in diagramms. -
Uses of GameView in com.bombinggames.wurfelengine.core.map
Methods in com.bombinggames.wurfelengine.core.map with parameters of type GameView Modifier and Type Method Description voidCoordinate. addLight(GameView view, Side side, byte vertex, com.badlogic.gdx.graphics.Color color)Add light to the RenderStorage at this coordiantevoidCoordinate. addLightToBackEdge(GameView view, Side side, com.badlogic.gdx.graphics.Color color)Add light to the back edge of a coordinate and it's neighbors-intCoordinate. getProjectionSpaceX(GameView view, Camera camera)intPoint. getProjectionSpaceX(GameView view, Camera camera)intPosition. getProjectionSpaceX(GameView View, Camera camera)equals screen space when zoom=1 with a single, fullscreen camera.intCoordinate. getProjectionSpaceY(GameView view, Camera camera)intPoint. getProjectionSpaceY(GameView view, Camera camera)intPosition. getProjectionSpaceY(GameView View, Camera camera)equals screen space when zoom=1 with a single camera.RenderChunkCoordinate. getRenderChunk(GameView gameView)voidLoadMenu. init(GameView view)voidLoadMenu. setOpen(GameView view, boolean open)Open/close the window -
Uses of GameView in com.bombinggames.wurfelengine.core.map.rendering
Methods in com.bombinggames.wurfelengine.core.map.rendering with parameters of type GameView Modifier and Type Method Description voidRenderCell. render(GameView view)voidRenderCell. render(GameView view, int xPos, int yPos)Render the whole block at a custom position.voidRenderCell. render(GameView view, int xPos, int yPos, boolean staticShade)Renders the whole block at a custom position.voidRenderCell. renderSide(GameView view, int xPos, int yPos, Side side, com.badlogic.gdx.graphics.Color color)uses heap, projection spacevoidRenderCell. renderSide(GameView view, Side side, boolean staticShade)Render a side of a block at the position of the internal coordinates.voidRenderCell. renderSide(GameView view, Point pos, Side side, com.badlogic.gdx.graphics.Color color)Draws a side of a cell at a custom position. -
Uses of GameView in com.bombinggames.wurfelengine.core.sorting
Fields in com.bombinggames.wurfelengine.core.sorting declared as GameView Modifier and Type Field Description protected GameViewAbstractSorter. gameView -
Uses of GameView in com.bombinggames.wurfelengine.extension
Methods in com.bombinggames.wurfelengine.extension with parameters of type GameView Modifier and Type Method Description voidMinimap. buildTexture(GameView view)Updates the minimap- Should only be done after changing the map.voidMinimap. render(GameView view)Renders the Minimap.voidMiniMapChunkDebug. render(GameView view)Renders the Minimap. -
Uses of GameView in com.bombinggames.wurfelengine.extension.basicmainmenu
Subclasses of GameView in com.bombinggames.wurfelengine.extension.basicmainmenu Modifier and Type Class Description classGameViewWithCameraA simple Controller which adds a camera.Methods in com.bombinggames.wurfelengine.extension.basicmainmenu that return types with arguments of type GameView Modifier and Type Method Description java.lang.Class<? extends GameView>BasicMenuItem. getGameView()Methods in com.bombinggames.wurfelengine.extension.basicmainmenu with parameters of type GameView Modifier and Type Method Description voidGameViewWithCamera. init(Controller controller, GameView oldView) -
Uses of GameView in com.bombinggames.wurfelengine.mapeditor
Subclasses of GameView in com.bombinggames.wurfelengine.mapeditor Modifier and Type Class Description classEditorViewMethods in com.bombinggames.wurfelengine.mapeditor with parameters of type GameView Modifier and Type Method Description voidEditorView. init(Controller controller, GameView oldView)voidEditorToggler. setGameView(GameView view)Set the gameView which are used for the current game.abstract voidAbstractPlacableTable. show(GameView view)voidBlockTable. show(GameView view)voidEntityTable. show(GameView view)protected voidEntityTable. showEntities(GameView view)Constructors in com.bombinggames.wurfelengine.mapeditor with parameters of type GameView Constructor Description Toolbar(GameView view, com.badlogic.gdx.graphics.g2d.TextureAtlas sprites, Cursor cursor, com.badlogic.gdx.scenes.scene2d.Stage stage)creates a new toolbar -
Uses of GameView in com.bombinggames.wurfelengine.soundengine
Methods in com.bombinggames.wurfelengine.soundengine that return GameView Modifier and Type Method Description GameViewSoundEngine. getView()Methods in com.bombinggames.wurfelengine.soundengine with parameters of type GameView Modifier and Type Method Description voidSoundEngine. setView(GameView view)Set the gameplay view to calcualte sound based on the gameplay.
-