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 voidGameView. addCamera(Camera camera)Add a camera to the game.floatGameView. screenXtoView(int screenX, Camera camera)Reverts the perspective and transforms it into a coordiante which can be used in the game logic.floatGameView. screenYtoView(int screenY, Camera camera)Reverts the projection and transforms it into game space.intGameView. viewToScreenX(int x, Camera camera)Not a homomorphism, which means f(a*b) !intGameView. 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 booleanAbstractGameObject. 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 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. -
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 voidRenderStorage. addCamera(Camera camera)avoids duplicatesbooleanRenderCell. 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 CameraAbstractSorter. cameraConstructors 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 CameraUserControlledShooter. 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 voidMinimap. setCamera(Camera camera)Set a camera which will be represented on the minimap.voidUserControlledShooter. 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.
-