Esempio n. 1
0
        public static void CreateNewParty()
        {
            PartyAlt party    = new PartyAlt();
            PartyWin partywin = new PartyWin(party);

            partywin.Show();
        }
Esempio n. 2
0
        public static void CreateNewCharacter(PartyWin partywin, Button charpos)
        {
            Character    chara        = new Character();
            NewCharacter newcharacter = new NewCharacter(partywin, charpos);

            newcharacter.CharTypeCombo.Items.Add("Warrior");
            newcharacter.CharTypeCombo.Items.Add("Cleric");
            newcharacter.CharTypeCombo.Items.Add("Rogue");
            newcharacter.CharTypeCombo.Items.Add("Wizard");
            newcharacter.CharTypeCombo.Items.Add("Barbarian");
            newcharacter.CharTypeCombo.Items.Add("Elf");
            newcharacter.CharTypeCombo.Items.Add("Dwarf");
            newcharacter.CharTypeCombo.Items.Add("Halfling");
            newcharacter.GoldBox.Text = "0";
            for (int i = 1; i < 16; i++)
            {
                newcharacter.LevelCombo.Items.Add(i);
            }

            newcharacter.LevelCombo.SelectedIndex = 0;

            newcharacter.Show();
        }