public HUDNewCharacterStats()
        {
            Bg = Engine.Singleton.Labeler.NewSimpleQuad("InventoryBgMaterial", 0.01f, 0.01f, 0.98f, 0.98f, new ColourValue(1, 1, 1), 0);
            MouseCursor = Engine.Singleton.Labeler.NewSimpleQuad("Kursor", 0.0f, 0.0f, Engine.Singleton.GetFloatFromPxWidth(32), Engine.Singleton.GetFloatFromPxHeight(32), new ColourValue(1, 1, 1), 4);
            HeaderBg = Engine.Singleton.Labeler.NewSimpleQuad("QuadMaterial", 0.25f, 0.04f, 0.5f, 0.1f, ColourValue.White, 1);
            Header = Engine.Singleton.Labeler.NewTextLabel("Primitive", 0.08f, new ColourValue(0.7f, 0.4f, 0), new ColourValue(1, 1.0f, 0.6f), 2);
            Header.SetPosition(0.4f, 0.06f);
            Header.Caption = "Statystyki";
            ResetBg = Engine.Singleton.Labeler.NewSimpleQuad("QuadMaterial", 0.8f, 0.85f, 0.09f, 0.06f, ColourValue.White, 1);
            Reset = Engine.Singleton.Labeler.NewTextLabel("Primitive", 0.04f, new ColourValue(0.7f, 0.4f, 0), new ColourValue(1, 1.0f, 0.6f), 2);
            Reset.SetPosition(0.81f, 0.86f);
            Reset.Caption = "RESET";

            DownArrow = Engine.Singleton.Labeler.NewSimpleQuad("DownArrow", 0.45f, 0.75f, Engine.Singleton.GetFloatFromPxWidth(64), Engine.Singleton.GetFloatFromPxHeight(128), ColourValue.White, 3);
            DownArrow.IsVisible = DownArrowEnabled;

            KwadratyLosu = new KwadratLosu[6];

            for (int i = 0; i < 6; i++)
            {
                KwadratyLosu[i] = new KwadratLosu(Engine.Singleton.Kostka(2, 10).ToString(), 0.2f, 0.215f + i * 0.1f);
            }

            StatyLosu = new StatLosu[6];
            StatyLosu[0] = new StatLosu("Walka wrecz", CharStats.WalkaWrecz.ToString(), 0.32f, 0.1f);
            StatyLosu[1] = new StatLosu("Krzepa", CharStats.Krzepa.ToString(), 0.38f, 0.1f);
            StatyLosu[2] = new StatLosu("Zrecznosc", CharStats.Zrecznosc.ToString(), 0.44f, 0.1f);
            StatyLosu[3] = new StatLosu("Charyzma", CharStats.Charyzma.ToString(), 0.5f, 0.1f);
            StatyLosu[4] = new StatLosu("Opanowanie", CharStats.Opanowanie.ToString(), 0.56f, 0.1f);
            StatyLosu[5] = new StatLosu("Odpornosc", CharStats.Odpornosc.ToString(), 0.62f, 0.1f);

            IsVisible = false;
        }
        public HUDNewCharacterStats()
        {
            Bg          = Engine.Singleton.Labeler.NewSimpleQuad("InventoryBgMaterial", 0.01f, 0.01f, 0.98f, 0.98f, new ColourValue(1, 1, 1), 0);
            MouseCursor = Engine.Singleton.Labeler.NewSimpleQuad("Kursor", 0.0f, 0.0f, Engine.Singleton.GetFloatFromPxWidth(32), Engine.Singleton.GetFloatFromPxHeight(32), new ColourValue(1, 1, 1), 4);
            HeaderBg    = Engine.Singleton.Labeler.NewSimpleQuad("QuadMaterial", 0.25f, 0.04f, 0.5f, 0.1f, ColourValue.White, 1);
            Header      = Engine.Singleton.Labeler.NewTextLabel("Primitive", 0.08f, new ColourValue(0.7f, 0.4f, 0), new ColourValue(1, 1.0f, 0.6f), 2);
            Header.SetPosition(0.4f, 0.06f);
            Header.Caption = "Statystyki";
            ResetBg        = Engine.Singleton.Labeler.NewSimpleQuad("QuadMaterial", 0.8f, 0.85f, 0.09f, 0.06f, ColourValue.White, 1);
            Reset          = Engine.Singleton.Labeler.NewTextLabel("Primitive", 0.04f, new ColourValue(0.7f, 0.4f, 0), new ColourValue(1, 1.0f, 0.6f), 2);
            Reset.SetPosition(0.81f, 0.86f);
            Reset.Caption = "RESET";

            DownArrow           = Engine.Singleton.Labeler.NewSimpleQuad("DownArrow", 0.45f, 0.75f, Engine.Singleton.GetFloatFromPxWidth(64), Engine.Singleton.GetFloatFromPxHeight(128), ColourValue.White, 3);
            DownArrow.IsVisible = DownArrowEnabled;

            KwadratyLosu = new KwadratLosu[6];

            for (int i = 0; i < 6; i++)
            {
                KwadratyLosu[i] = new KwadratLosu(Engine.Singleton.Kostka(2, 10).ToString(), 0.2f, 0.215f + i * 0.1f);
            }

            StatyLosu    = new StatLosu[6];
            StatyLosu[0] = new StatLosu("Walka wrecz", CharStats.WalkaWrecz.ToString(), 0.32f, 0.1f);
            StatyLosu[1] = new StatLosu("Krzepa", CharStats.Krzepa.ToString(), 0.38f, 0.1f);
            StatyLosu[2] = new StatLosu("Zrecznosc", CharStats.Zrecznosc.ToString(), 0.44f, 0.1f);
            StatyLosu[3] = new StatLosu("Charyzma", CharStats.Charyzma.ToString(), 0.5f, 0.1f);
            StatyLosu[4] = new StatLosu("Opanowanie", CharStats.Opanowanie.ToString(), 0.56f, 0.1f);
            StatyLosu[5] = new StatLosu("Odpornosc", CharStats.Odpornosc.ToString(), 0.62f, 0.1f);

            IsVisible = false;
        }