public void setValues(CharacterInformation charinfo)
 {
     hpBar.Value  = charinfo.getChar_curhp();
     spBar.Value  = charinfo.getChar_cursp();
     hpBar.Range  = charinfo.getChar_hp();
     spBar.Range  = charinfo.getChar_sp();
     expBar.Value = charinfo.getChar_curexp();
     expBar.Range = charinfo.getChar_exp();
 }
        public void setValues(CharacterInformation charinfo)
        {
            short _level  = charinfo.getChar_level();
            int   _curexp = charinfo.getChar_curexp();
            int   _exp    = charinfo.getChar_exp();
            short _str    = charinfo.getChar_str();
            short _dex    = charinfo.getChar_dex();
            short _int    = charinfo.getChar_int();

            lvValue.Text  = "" + _level;
            expValue.Text = _curexp + " / " + _exp;
            strValue.Text = "" + _str;
            dexValue.Text = "" + _dex;
            intValue.Text = "" + _int;
            stValue.Text  = "" + charinfo.getChar_stpoint();
            if (charinfo.getChar_stpoint() <= 0)
            {
                strBtn.Enabled = false;
                dexBtn.Enabled = false;
                intBtn.Enabled = false;
            }
            else
            {
                strBtn.Enabled = true;
                dexBtn.Enabled = true;
                intBtn.Enabled = true;
            }
            hpValue.Text      = charinfo.getChar_curhp() + " / " + hpMultiplier(_level, _str, _dex, _int);
            spValue.Text      = charinfo.getChar_cursp() + " / " + spMultiplier(_level, _str, _dex, _int);
            patkValue.Text    = patkMultiplier(_level, _str, _dex, _int)[0] + " ~ " + patkMultiplier(_level, _str, _dex, _int)[1];
            pdefValue.Text    = "" + pdefMultiplier(_level, _str, _dex, _int);
            matkValue.Text    = matkMultiplier(_level, _str, _dex, _int)[0] + " ~ " + matkMultiplier(_level, _str, _dex, _int)[1];
            mdefValue.Text    = "" + mdefMultiplier(_level, _str, _dex, _int);
            atkspdValue.Text  = "" + atkspd(_level, _str, _dex, _int);
            movespdValue.Text = "" + movespd(_level, _str, _dex, _int);
        }