protected Gem(
        int strength,
        int agility,
        int vitality,
        GemClarityStatsBonus gemClarityStatsBonus)
    {
        int bonus = (int)gemClarityStatsBonus;

        this.Strength = strength + bonus;
        this.Agility  = agility + bonus;
        this.Vitality = vitality + bonus;
    }
예제 #2
0
 public Emerald(GemClarityStatsBonus gemClarityStatsBonus)
     : base(EmeraldStrength, EmeraldAgility, EmeraldVitality, gemClarityStatsBonus)
 {
 }
예제 #3
0
 public Amethyst(GemClarityStatsBonus gemClarityStatsBonus)
     : base(AmethystStrength, AmethystAgility, AmethystVitality, gemClarityStatsBonus)
 {
 }
 public Ruby(GemClarityStatsBonus gemClarityStatsBonus)
     : base(RubyStrength, RubyAgility, RubyVitality, gemClarityStatsBonus)
 {
 }