public QuantityDisplayBar(Vector2 dims, int Border, Color Color, Vector2 position)
 {
     boarder = Border;
     color   = Color;
     offset  = new Vector2(-40, -40);
     bar     = new Basic2d("Autre/healthBarSimple", position + offset, dims);
     barBkg  = new Basic2d("Autre/healthBarBkgSimple", position + offset, dims);
 }
 public QuantityDisplayBarHero(int Border, Color Color, string path)
 {
     boarder = Border;
     color   = Color;
     if (path == "Autre/xpBar")
     {
         bar    = new Basic2d(path, new Vector2(Global.screenWidth - 217, Global.screenHeight - 47), new Vector2(200, 32));
         barBkg = new Basic2d(path + "Bkg", new Vector2(Global.screenWidth - 220, Global.screenHeight - 46), new Vector2(200, 32));
     }
     else
     {
         bar    = new Basic2d(path, new Vector2(24, Global.screenHeight - 46), new Vector2(200, 32));
         barBkg = new Basic2d(path + "Bkg", new Vector2(20, Global.screenHeight - 46), new Vector2(200, 32));
     }
 }