comparison src/parpg/gui/inventorygui.py @ 163:50c248656348

Added updateImages method to CharacterGUI.
author KarstenBock@gmx.net
date Sat, 08 Oct 2011 14:19:11 +0200
parents 2ba7c6d8f738
children 6d07093e9d51
comparison
equal deleted inserted replaced
162:79c186b69603 163:50c248656348
283 self.showInventory() 283 self.showInventory()
284 self.inventory_shown = True 284 self.inventory_shown = True
285 else: 285 else:
286 self.closeInventory() 286 self.closeInventory()
287 self.inventory_shown = False 287 self.inventory_shown = False
288 288
289 def showInventory(self): 289 def updateImages(self):
290 self.equip_gui.updateImages() 290 self.equip_gui.updateImages()
291 self.inv_gui.updateImages() 291 self.inv_gui.updateImages()
292
293 def showInventory(self):
294 self.updateImages()
292 self.gui.show() 295 self.gui.show()
293 296
294 def closeInventory(self): 297 def closeInventory(self):
295 self.gui.hide() 298 self.gui.hide()
296 299