コード例 #1
0
ファイル: Armor.cs プロジェクト: Fux90/GodsWill_ASCIIRPG
 public Armor(string name,
              string symbol,
              Color color,
              Damage damageReduction,
              _ArmorType armorType,
              string description = "Base armor of the game",
              Coord position     = new Coord(),
              int cost           = 0,
              int weight         = 1,
              int uses           = Item._UnlimitedUses)
     : base(name, symbol, color, true, false, description, position, cost, weight, uses)
 {
     this.damageReduction = damageReduction;
     this.ArmorType       = armorType;
 }
コード例 #2
0
ファイル: Armor.cs プロジェクト: Fux90/GodsWill_ASCIIRPG
 public Armor(string name,
             string symbol,
             Color color,
             Damage damageReduction,
             _ArmorType armorType,
             string description = "Base armor of the game",
             Coord position = new Coord(),
             int cost = 0,
             int weight = 1,
             int uses = Item._UnlimitedUses)
     : base(name, symbol, color, true, false, description, position, cost, weight, uses)
 {
     this.damageReduction = damageReduction;
     this.ArmorType = armorType;
 }