public class RepeatingSpriteBackground extends SpriteBackground
IUpdateHandler.IUpdateHandlerMatchermEntity| Constructor and Description |
|---|
RepeatingSpriteBackground(float pCameraWidth,
float pCameraHeight,
TextureManager pTextureManager,
IBitmapTextureAtlasSource pBitmapTextureAtlasSource,
float pScale,
VertexBufferObjectManager pVertexBufferObjectManager) |
RepeatingSpriteBackground(float pCameraWidth,
float pCameraHeight,
TextureManager pTextureManager,
IBitmapTextureAtlasSource pBitmapTextureAtlasSource,
VertexBufferObjectManager pVertexBufferObjectManager) |
| Modifier and Type | Method and Description |
|---|---|
BitmapTextureAtlas |
getBitmapTextureAtlas() |
getSpriteonDrawclearBackgroundModifiers, isColorEnabled, onUpdate, registerBackgroundModifier, reset, setColor, setColor, setColor, setColorEnabled, unregisterBackgroundModifierpublic RepeatingSpriteBackground(float pCameraWidth,
float pCameraHeight,
TextureManager pTextureManager,
IBitmapTextureAtlasSource pBitmapTextureAtlasSource,
VertexBufferObjectManager pVertexBufferObjectManager)
throws java.lang.IllegalArgumentException
pCameraWidth - pCameraHeight - pTextureManager - pBitmapTextureAtlasSource - needs to be a power of two as otherwise the repeating feature doesn't work.java.lang.IllegalArgumentExceptionpublic RepeatingSpriteBackground(float pCameraWidth,
float pCameraHeight,
TextureManager pTextureManager,
IBitmapTextureAtlasSource pBitmapTextureAtlasSource,
float pScale,
VertexBufferObjectManager pVertexBufferObjectManager)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic BitmapTextureAtlas getBitmapTextureAtlas()