public class

RepeatingSpriteBackground

extends SpriteBackground
java.lang.Object
   ↳ org.andengine.entity.scene.background.Background
     ↳ org.andengine.entity.scene.background.EntityBackground
       ↳ org.andengine.entity.scene.background.SpriteBackground
         ↳ org.andengine.entity.scene.background.RepeatingSpriteBackground

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

[Expand]
Inherited Fields
From class org.andengine.entity.scene.background.EntityBackground
Public Constructors
RepeatingSpriteBackground(float pCameraWidth, float pCameraHeight, TextureManager pTextureManager, IBitmapTextureAtlasSource pBitmapTextureAtlasSource, VertexBufferObjectManager pVertexBufferObjectManager)
RepeatingSpriteBackground(float pCameraWidth, float pCameraHeight, TextureManager pTextureManager, IBitmapTextureAtlasSource pBitmapTextureAtlasSource, float pScale, VertexBufferObjectManager pVertexBufferObjectManager)
Public Methods
BitmapTextureAtlas getBitmapTextureAtlas()
[Expand]
Inherited Methods
From class org.andengine.entity.scene.background.SpriteBackground
From class org.andengine.entity.scene.background.EntityBackground
From class org.andengine.entity.scene.background.Background
From class java.lang.Object
From interface org.andengine.engine.handler.IDrawHandler
From interface org.andengine.engine.handler.IUpdateHandler
From interface org.andengine.entity.scene.background.IBackground

Public Constructors

public RepeatingSpriteBackground (float pCameraWidth, float pCameraHeight, TextureManager pTextureManager, IBitmapTextureAtlasSource pBitmapTextureAtlasSource, VertexBufferObjectManager pVertexBufferObjectManager)

Parameters
pBitmapTextureAtlasSource needs to be a power of two as otherwise the repeating feature doesn't work.

public RepeatingSpriteBackground (float pCameraWidth, float pCameraHeight, TextureManager pTextureManager, IBitmapTextureAtlasSource pBitmapTextureAtlasSource, float pScale, VertexBufferObjectManager pVertexBufferObjectManager)

Public Methods

public BitmapTextureAtlas getBitmapTextureAtlas ()