public class ParallaxBackground extends Background
| Modifier and Type | Class and Description |
|---|---|
static class |
ParallaxBackground.ParallaxEntity |
IUpdateHandler.IUpdateHandlerMatcher| Modifier and Type | Field and Description |
|---|---|
protected float |
mParallaxValue |
| Constructor and Description |
|---|
ParallaxBackground(float pRed,
float pGreen,
float pBlue) |
| Modifier and Type | Method and Description |
|---|---|
void |
attachParallaxEntity(ParallaxBackground.ParallaxEntity pParallaxEntity) |
boolean |
detachParallaxEntity(ParallaxBackground.ParallaxEntity pParallaxEntity) |
void |
onDraw(GLState pGLState,
Camera pCamera) |
void |
setParallaxValue(float pParallaxValue) |
clearBackgroundModifiers, isColorEnabled, onUpdate, registerBackgroundModifier, reset, setColor, setColor, setColor, setColorEnabled, unregisterBackgroundModifierpublic ParallaxBackground(float pRed,
float pGreen,
float pBlue)
public void setParallaxValue(float pParallaxValue)
public void onDraw(GLState pGLState, Camera pCamera)
onDraw in interface IDrawHandleronDraw in class Backgroundpublic void attachParallaxEntity(ParallaxBackground.ParallaxEntity pParallaxEntity)
public boolean detachParallaxEntity(ParallaxBackground.ParallaxEntity pParallaxEntity)