コード例 #1
0
 public DealDmgToEnemy(Crit crit, Dodge dodge, ArmorReduction armorReduction, MagicReduction magicReduction, UserAccounts accounts, UpdateFightPage updateFightPage)
 {
     _crit            = crit;
     _dodge           = dodge;
     _armorReduction  = armorReduction;
     _magicReduction  = magicReduction;
     _accounts        = accounts;
     _updateFightPage = updateFightPage;
 }
コード例 #2
0
        public GameFramework(UserAccounts accounts,
                             AttackDamageActiveTree attackDamageActiveTree, SpellUserAccounts spellAccounts,
                             AwaitForUserMessage awaitForUserMessage,
                             AttackDamagePassiveTree attackDamagePassiveTree, AllBuffs allDebuffs, DefencePassiveTree defencePassiveTree, DefenceActiveTree defenceActiveTree, AgilityActiveTree agilityActiveTree, AgilityPassiveTree agilityPassiveTree, MagicActiveTree magicActiveTree, MagicPassiveTree magicPassiveTree, DealDmgToEnemy dealDmgToEnemy, UpdateFightPage updateFightPage)
        {
            _accounts = accounts;

            _attackDamageActiveTree = attackDamageActiveTree;
            _spellAccounts          = spellAccounts;

            _awaitForUserMessage     = awaitForUserMessage;
            _attackDamagePassiveTree = attackDamagePassiveTree;
            _allDebuffs         = allDebuffs;
            _defencePassiveTree = defencePassiveTree;
            _defenceActiveTree  = defenceActiveTree;
            _agilityActiveTree  = agilityActiveTree;
            _agilityPassiveTree = agilityPassiveTree;
            _magicActiveTree    = magicActiveTree;
            _magicPassiveTree   = magicPassiveTree;
            _dealDmgToEnemy     = dealDmgToEnemy;
            _updateFightPage    = updateFightPage;
        }