Reputation: 265
i added this line.but it gives error.how to import it?
import org.andengine.opengl.texture.atlas.TextureAtlas;
Upvotes: 0
Views: 932
Reputation: 2527
TextureAtlas is an abstract class, try importing
import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas;
or
import org.andengine.opengl.texture.atlas.bitmap.BuildableBitmapTextureAtlas;
depending on which one you are using
If you using Eclipse and it is configured properly, you should be able to just delete that line and Eclipse will add the correct import statements - at least it does on my system.
Upvotes: 2