Exemplo n.º 1
0
 //set new roll
 public void SetRoll(Roll r)
 {
     roll = r;
     rollDisplayTextBox.Text = "Roll: " + roll.ToString();
     saveButton.Enabled      = true;
 }
Exemplo n.º 2
0
        public Weapon(string nm, List <Roll> bonus, string prop, bool fin, bool prof, Roll damage)
        {
            bonusRolls = new List <Roll>();

            name       = nm;
            bonusRolls = bonus;
            properties = prop;
            finesse    = fin;
            profiient  = prof;
            damageRoll = damage;
        }