@Override public void drawTop(final Graphics2D g2d){
  final Rectangle r=getArea();
  if (isContained()) {
    r.setLocation(0,0);
  }
 else {
    if (!isOnScreen(g2d,r)) {
      return;
    }
  }
  final Composite oldComposite=g2d.getComposite();
  try {
    g2d.setComposite(entityComposite);
    drawTop(g2d,r.x,r.y,r.width,r.height);
  }
  finally {
    g2d.setComposite(oldComposite);
  }
}

@ Override public void drawTop ( final Graphics2D g2d ) { final Rectangle r = getArea ( ) ; if ( isContained ( ) ) { r . setLocation ( 0 , 0 ) ; } else { if ( ! isOnScreen ( g2d , r ) ) { return ; } } final Composite oldComposite = g2d . getComposite ( ) ; try { g2d . setComposite ( entityComposite ) ; drawTop ( g2d , r . x , r . y , r . width , r . height ) ; } finally { g2d . setComposite ( oldComposite ) ; } }
draw the top layer parts of an entity . this will be on down after all other game layers are rendered .
