Beispiel #1
0
 public Weapon(string id, string name, double weight, double value, int stackSize, CraftingRecipe recipe)
 {
     this.id        = id;
     this.name      = name;
     this.weight    = weight;
     this.value     = value;
     this.stackSize = stackSize;
     this.recipe    = recipe;
     this.twoHanded = false;
 }
Beispiel #2
0
 public Item(string id, string name, double weight, double value, int stackSize, CraftingRecipe recipe) : this()
 {
     this.id        = id;
     this.name      = name;
     this.weight    = weight;
     this.value     = value;
     this.stackSize = stackSize;
     this.recipe    = recipe;
 }