예제 #1
0
파일: Weapon.cs 프로젝트: Nay26/GameTest
 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;
 }
예제 #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;
 }