Package | Description |
---|---|
com.BombingGames.WurfelEngine.Core | |
com.BombingGames.WurfelEngine.Core.Gameobjects |
Game Objects are objects liek entities and block which can be found in the map.
|
com.BombingGames.WurfelEngine.Core.Map |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Camera> |
GameView.getCameras()
Returns a camera.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GameView.addCamera(Camera camera)
Add a camera.
|
void |
Camera.render(GameView view,
Camera camera)
Renders the viewport
|
float |
GameView.screenXtoGame(int x,
Camera camera)
Reverts the perspective and transforms it into a coordiante which can be used in the game logic.
|
float |
GameView.screenYtoGame(int y,
Camera camera)
Reverts the projection and transforms it into a coordiante which can be used in the game logic.
|
Modifier and Type | Method and Description |
---|---|
Camera |
PlayerWithWeapon.getCamera() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractEntity.render(GameView view,
Camera camera)
renders using it's saved postion
|
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos)
Draws an object in the color of the light engine and with the lightlevel.
|
void |
Block.render(View view,
Camera camera,
AbstractPosition pos) |
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos,
com.badlogic.gdx.graphics.Color color)
Draws an object if it is not hidden and not clipped.
|
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos,
com.badlogic.gdx.graphics.Color color,
float scale)
Draws an object if it is not hidden and not clipped.
|
void |
AbstractGameObject.render(View view,
Camera camera,
AbstractPosition pos,
float scale)
Draws an object in the color of the light engine and with the lightlevel.
|
void |
Block.renderSide(View view,
Camera camera,
AbstractPosition coords,
Sides side,
com.badlogic.gdx.graphics.Color color,
float scale)
Render a side of a block at the position of the coordinates.
|
void |
Block.renderSide(View view,
Camera camera,
AbstractPosition coords,
Sides side,
float scale)
Render a side of a block at the position of the coordinates.
|
void |
PlayerWithWeapon.setCamera(Camera camera)
Set the camera which is renderin the player to calculate the aiming.
|
Constructor and Description |
---|
Explosion(int radius,
Camera camera) |
Modifier and Type | Method and Description |
---|---|
void |
Map.addCamera(Camera camera) |
Intersection |
Point.raycast(com.badlogic.gdx.math.Vector3 direction,
float radius,
Camera camera,
boolean onlySolid)
Trace a ray through the map until ray hits non air block.
|
Constructor and Description |
---|
Minimap(Camera camera,
int outputX,
int outputY)
Create a minimap.
|