Is it possible to detect when an object and a bitmap collide. I have an arraylist of sprites that I am shooting with an image. I tried using this method here but as soon as the bitmap appears the sprite disappears, this is in the Sprite class:
public boolean isCollision(Bitmap other) {
public //boolean TODOisCollision(Bitmap Auto-generatedother)
{ method stub
if(other.getWidth() > x && other.getWidth() < x + width && >other.getHeight() > y && other.getHeight() < y + height);
return true; return true;
}