예제 #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);
 }