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 void
WE. initAndStartGame(LoadingScreen customLoadingScreen, Controller controller, GameView view)
Initialize the main game with you custom controller and view.static void
WE. switchSetup(Controller controller, GameView view)
static void
WE. switchSetupWithInit(Controller controller, GameView view)
Use different controller and views, which reinitializes them.static void
WE. 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 GameView
Camera. getGameView()
GameView
GameplayScreen. getView()
Get the current active view.Methods in com.bombinggames.wurfelengine.core with parameters of type GameView Modifier and Type Method Description void
GameView. init(Controller controller, GameView oldView)
Loades some files and set up everything when the engine is running.void
Camera. render(GameView view)
Renders the viewportvoid
DevTools. render(GameView view)
Renders the diagramm.void
GameplayScreen. 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 void
AbstractGameObject. render(GameView view)
Draws an object if it is not hidden and not clipped.void
AbstractGameObject. render(GameView view, int xPos, int yPos)
Renders at a custom position in projection space. uses heapvoid
EntityShadow. render(GameView view)
void
Cursor. 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 void
LightEngine. 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 void
Coordinate. addLight(GameView view, Side side, byte vertex, com.badlogic.gdx.graphics.Color color)
Add light to the RenderStorage at this coordiantevoid
Coordinate. addLightToBackEdge(GameView view, Side side, com.badlogic.gdx.graphics.Color color)
Add light to the back edge of a coordinate and it's neighbors-int
Coordinate. getProjectionSpaceX(GameView view, Camera camera)
int
Point. getProjectionSpaceX(GameView view, Camera camera)
int
Position. getProjectionSpaceX(GameView View, Camera camera)
equals screen space when zoom=1 with a single, fullscreen camera.int
Coordinate. getProjectionSpaceY(GameView view, Camera camera)
int
Point. getProjectionSpaceY(GameView view, Camera camera)
int
Position. getProjectionSpaceY(GameView View, Camera camera)
equals screen space when zoom=1 with a single camera.RenderChunk
Coordinate. getRenderChunk(GameView gameView)
void
LoadMenu. init(GameView view)
void
LoadMenu. 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 void
RenderCell. render(GameView view)
void
RenderCell. render(GameView view, int xPos, int yPos)
Render the whole block at a custom position.void
RenderCell. render(GameView view, int xPos, int yPos, boolean staticShade)
Renders the whole block at a custom position.void
RenderCell. renderSide(GameView view, int xPos, int yPos, Side side, com.badlogic.gdx.graphics.Color color)
uses heap, projection spacevoid
RenderCell. renderSide(GameView view, Side side, boolean staticShade)
Render a side of a block at the position of the internal coordinates.void
RenderCell. 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 GameView
AbstractSorter. 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 void
Minimap. buildTexture(GameView view)
Updates the minimap- Should only be done after changing the map.void
Minimap. render(GameView view)
Renders the Minimap.void
MiniMapChunkDebug. 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 class
GameViewWithCamera
A 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 void
GameViewWithCamera. 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 class
EditorView
Methods in com.bombinggames.wurfelengine.mapeditor with parameters of type GameView Modifier and Type Method Description void
EditorView. init(Controller controller, GameView oldView)
void
EditorToggler. setGameView(GameView view)
Set the gameView which are used for the current game.abstract void
AbstractPlacableTable. show(GameView view)
void
BlockTable. show(GameView view)
void
EntityTable. show(GameView view)
protected void
EntityTable. 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 GameView
SoundEngine. getView()
Methods in com.bombinggames.wurfelengine.soundengine with parameters of type GameView Modifier and Type Method Description void
SoundEngine. setView(GameView view)
Set the gameplay view to calcualte sound based on the gameplay.
-