private void onAttacked(final Entity attacker){
  attackers.remove(attacker);
  attackers.add(attacker);
}

private void onAttacked ( final Entity attacker ) { attackers . remove ( attacker ) ; attackers . add ( attacker ) ; }
when attacker attacks this entity .
