public InventoryStack(Item item, int count) { this.item = item; this.texture = item.textureFromAtlas; this.count = count; this.stackType = InventoryStackTypes.Item; }
public InventoryStack(Block block, int count) { this.block = block; this.texture = block.textureFromAtlas; this.count = count; this.stackType = InventoryStackTypes.Block; }
public InventoryStack(Item item) { this.item = item; this.texture = item.textureFromAtlas; this.stackType = InventoryStackTypes.Item; }
public InventoryStack(Block block) { this.block = block; this.texture = block.textureFromAtlas; this.stackType = InventoryStackTypes.Block; }