public final void removeHitBox(String name){
  hitBoxes.removeIf(null);
}

public final void removeHitBox ( String name ) { hitBoxes . removeIf ( null ) ; }
removes a hit box with given name from the list of hit boxes for this entity .
