Uses of Class
com.bombinggames.wurfelengine.core.Camera
-
Packages that use Camera Package Description 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.map com.bombinggames.wurfelengine.core.map.Iterators 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. -
-
Uses of Camera in com.bombinggames.wurfelengine.core
Methods in com.bombinggames.wurfelengine.core that return types with arguments of type Camera Modifier and Type Method Description java.util.ArrayList<Camera>
GameView. getCameras()
Returns a camera.Methods in com.bombinggames.wurfelengine.core with parameters of type Camera Modifier and Type Method Description void
GameView. addCamera(Camera camera)
Add a camera to the game.float
GameView. screenXtoView(int screenX, Camera camera)
Reverts the perspective and transforms it into a coordiante which can be used in the game logic.float
GameView. screenYtoView(int screenY, Camera camera)
Reverts the projection and transforms it into game space.int
GameView. viewToScreenX(int x, Camera camera)
Not a homomorphism, which means f(a*b) !int
GameView. viewToScreenY(int y, Camera camera)
Not a homomorphism, which means f(a*b) ! -
Uses of Camera in com.bombinggames.wurfelengine.core.gameobjects
Methods in com.bombinggames.wurfelengine.core.gameobjects with parameters of type Camera Modifier and Type Method Description boolean
AbstractGameObject. shouldBeRendered(Camera camera)
Gives information if object should be rendered.Constructors in com.bombinggames.wurfelengine.core.gameobjects with parameters of type Camera Constructor Description Explosion(int radius, int damage, Camera camera)
-
Uses of Camera in com.bombinggames.wurfelengine.core.map
Methods in com.bombinggames.wurfelengine.core.map with parameters of type Camera Modifier and Type Method Description 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. -
Uses of Camera in com.bombinggames.wurfelengine.core.map.Iterators
Constructors in com.bombinggames.wurfelengine.core.map.Iterators with parameters of type Camera Constructor Description CoveredByCameraIterator(RenderStorage renderStorage, Camera camera, int startingZ, int topLevel)
Starts at z = -1. -
Uses of Camera in com.bombinggames.wurfelengine.core.map.rendering
Methods in com.bombinggames.wurfelengine.core.map.rendering with parameters of type Camera Modifier and Type Method Description void
RenderStorage. addCamera(Camera camera)
avoids duplicatesboolean
RenderCell. shouldBeRendered(Camera camera)
-
Uses of Camera in com.bombinggames.wurfelengine.core.sorting
Fields in com.bombinggames.wurfelengine.core.sorting declared as Camera Modifier and Type Field Description protected Camera
AbstractSorter. camera
Constructors in com.bombinggames.wurfelengine.core.sorting with parameters of type Camera Constructor Description AbstractSorter(Camera camera)
DepthValueSort(Camera camera)
NoSort(Camera camera)
TopologicalSort(Camera camera)
-
Uses of Camera in com.bombinggames.wurfelengine.extension
Methods in com.bombinggames.wurfelengine.extension that return Camera Modifier and Type Method Description Camera
UserControlledShooter. getCamera()
Get the camera used to identify the aiming direction.Methods in com.bombinggames.wurfelengine.extension with parameters of type Camera Modifier and Type Method Description void
Minimap. setCamera(Camera camera)
Set a camera which will be represented on the minimap.void
UserControlledShooter. setCamera(Camera camera)
Set the camera which is renderin the player to calculate the aiming.Constructors in com.bombinggames.wurfelengine.extension with parameters of type Camera Constructor Description Minimap(Camera camera, int outputX, int outputY)
Create a minimap.
-