Made lucas the Main character and also added collision

This commit is contained in:
2020-06-25 00:45:34 -06:00
parent 86cc05f0d7
commit 944f0ff712
12 changed files with 167 additions and 136 deletions

View File

@@ -0,0 +1,18 @@
using System.Collections.Generic;
using Collector.Dimension;
public class Inventory {
private LinkedList<ItemStack> inventory = new LinkedList<ItemStack>();
public LinkedList<ItemStack> GetInventory() {
return inventory;
}
public void SetInventory(LinkedList<ItemStack> inventory) {
this.inventory = inventory;
}
public void RemoveItem(ItemStack itemStack){
inventory.Remove(itemStack);
}
}