public class Sprite extends Renderable{
public Bitmap sprite;
private Matrix mMatrix = new Matrix();
public boolean isVisible = true;
public Sprite(Texture tex, int x, int y) {
this.x = x;
this.y = y;
sprite = getAdapterBitmap(tex.tex);
this.height = sprite.getHeight();
this.width = sprite.getWidth();
}this
private Bitmap getAdapterBitmap(Bitmap tex) {
mMatrix.setScale(GameUtil.bitmpScaleY, GameUtil.bitmpScaleY);
int wid = tex.getWidth();
int hei = tex.getHeight();
return Bitmap.createBitmap(tex,0, 0,wid,hei, mMatrix, false);
}get
}it