public final void onDead(final Killer killer){
  onDead(killer,true);
}

public final void onDead ( final Killer killer ) { onDead ( killer , true ) ; }
this method is called when the entity has been killed ( hp = = 0 ) .
