private void addStaticSprite(Sprite sprite,long persistTime,int priority){
  int x=(getWidth() - sprite.getWidth()) / 2;
  int y=getHeight() - sprite.getHeight();
  RemovableSprite msg=new RemovableSprite(sprite,x,y,persistTime);
  msg.setPriority(priority);
  staticSprites.add(msg);
  Collections.sort(staticSprites);
}

private void addStaticSprite ( Sprite sprite , long persistTime , int priority ) { int x = ( getWidth ( ) - sprite . getWidth ( ) ) / 2 ; int y = getHeight ( ) - sprite . getHeight ( ) ; RemovableSprite msg = new RemovableSprite ( sprite , x , y , persistTime ) ; msg . setPriority ( priority ) ; staticSprites . add ( msg ) ; Collections . sort ( staticSprites ) ; }
add a sprite anchored to the screen bottom .
