public static void emptyInventory(Player par1) { for (int i = 1; i < 21; i++) { par1.inventory[i] = new Item(); par1.inventory[i] = Item.itemEmptySlot; } }
public void throwAwayItem(int par1, Player par2) { par2.inventory[par1].initItem(0, "Empty Slot"); }
public static void showInventory(Player par1) { for (int i = 1; i < 21; i++) GameWindow.OutLine("Slot " + i + ": " + par1.inventory[i].getName()); }
public void startCombat(Monster par1, Player par2) { monster = par1; GameWindow.OutLine("You have started a battle with " + monster.MonsterName); }