public class EngineView extends View
Constructor and Description |
---|
EngineView() |
Modifier and Type | Method and Description |
---|---|
void |
addInputProcessor(com.badlogic.gdx.InputProcessor processor)
Add an inputProcessor to the views.
|
void |
focusInputProcessor(com.badlogic.gdx.InputProcessor processor)
Deactivates every input processor but one.
|
com.badlogic.gdx.graphics.g2d.SpriteBatch |
getBatch()
y-down
|
com.badlogic.gdx.graphics.Pixmap |
getCursor() |
com.badlogic.gdx.graphics.g2d.BitmapFont |
getFont() |
float |
getMusicLoudness() |
com.badlogic.gdx.graphics.glutils.ShaderProgram |
getShader() |
com.badlogic.gdx.graphics.glutils.ShapeRenderer |
getShapeRenderer()
Y-down
|
com.badlogic.gdx.scenes.scene2d.ui.Skin |
getSkin() |
com.badlogic.gdx.scenes.scene2d.Stage |
getStage() |
void |
resetInputProcessors()
Resets the input processors.
|
void |
setMusic(java.lang.String path) |
void |
setMusicLoudness(float loudness) |
void |
unfocusInputProcessor()
Reset that every input processor works again.
|
getOrientation, init, setOrientation
public void resetInputProcessors()
public void addInputProcessor(com.badlogic.gdx.InputProcessor processor)
processor
- public void focusInputProcessor(com.badlogic.gdx.InputProcessor processor)
processor
- the processor you want to "filter"unfocusInputProcessor()
public void unfocusInputProcessor()
focusInputProcessor(com.badlogic.gdx.InputProcessor)
public com.badlogic.gdx.graphics.g2d.BitmapFont getFont()
public com.badlogic.gdx.graphics.g2d.SpriteBatch getBatch()
public com.badlogic.gdx.graphics.glutils.ShaderProgram getShader()
public com.badlogic.gdx.graphics.glutils.ShapeRenderer getShapeRenderer()
getShapeRenderer
in class View
public com.badlogic.gdx.scenes.scene2d.Stage getStage()
public com.badlogic.gdx.scenes.scene2d.ui.Skin getSkin()
public com.badlogic.gdx.graphics.Pixmap getCursor()
public float getMusicLoudness()
public void setMusicLoudness(float loudness)
public void setMusic(java.lang.String path)