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