示例#1
0
 private void updateSpace(int index, StorageSpace space)
 {
     space.saveItem(getItem(), index);
     currentInventory.saveCharacterInventory(currentCharacter.Name);
 }
示例#2
0
 private void removeFromSpace(int index, StorageSpace space)
 {
     space.removeItem(index);
     currentInventory.saveCharacterInventory(currentCharacter.Name);
     initInventoryDisplay();
 }
示例#3
0
 private void removeFromSpace(int index, StorageSpace space)
 {
     space.removeItem(index);
     currentInventory.saveCharacterInventory(currentCharacter.Name);
     initInventoryDisplay();
 }
示例#4
0
 private void updateSpace(int index, StorageSpace space)
 {
     space.saveItem(getItem(), index);
     currentInventory.saveCharacterInventory(currentCharacter.Name);
 }