Made a Gui and created a dropdown menu to select block
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using Collector.Dimension;
|
||||
|
||||
using Collector.UI;
|
||||
using Myra.Graphics2D.UI;
|
||||
|
||||
public class Inventory {
|
||||
private LinkedList<ItemStack> inventory = new LinkedList<ItemStack>();
|
||||
|
||||
public static Blocks GetSelectedItem()
|
||||
{
|
||||
return (Blocks) Gui._combo.SelectedIndex.Value;
|
||||
}
|
||||
|
||||
public LinkedList<ItemStack> GetInventory() {
|
||||
return inventory;
|
||||
|
||||
Reference in New Issue
Block a user