generate a function for throwing items out of the selected player's inventory slot when the "Q" button is pressed
public delegate void InventorySlotDelegate(int player, int item); public static InventorySlotDelegate addInventorySlotDelegate(InventorySlotDelegate delegate, InventorySlotDelegate toAdd) { return delegate += toAdd; } public static InventorySlotDelegate removeInventorySlotDelegate(InventorySlotDelegate delegate, InventorySlotDelegate toRemove) { return delegate -= toRemove; }