HPBar(){
  super(new LinearScalingModel());
  setBackground(Color.DARK_GRAY);
  setForeground(Color.WHITE);
  setPreferredSize(new Dimension(0,DEFAULT_HEIGHT));
  setMinimumSize(getPreferredSize());
}

HPBar ( ) { super ( new LinearScalingModel ( ) ) ; setBackground ( Color . DARK_GRAY ) ; setForeground ( Color . WHITE ) ; setPreferredSize ( new Dimension ( 0 , DEFAULT_HEIGHT ) ) ; setMinimumSize ( getPreferredSize ( ) ) ; }
create new hp bar .
