예제 #1
0
 public InventoryStack(Item item, int count)
 {
     this.item = item;
     this.texture = item.textureFromAtlas;
     this.count = count;
     this.stackType = InventoryStackTypes.Item;
 }
예제 #2
0
 public InventoryStack(Block block, int count)
 {
     this.block = block;
     this.texture = block.textureFromAtlas;
     this.count = count;
     this.stackType = InventoryStackTypes.Block;
 }
예제 #3
0
 public InventoryStack(Item item)
 {
     this.item = item;
     this.texture = item.textureFromAtlas;
     this.stackType = InventoryStackTypes.Item;
 }
예제 #4
0
 public InventoryStack(Block block)
 {
     this.block = block;
     this.texture = block.textureFromAtlas;
     this.stackType = InventoryStackTypes.Block;
 }