Example #1
0
 def getStateForSaving(self):
     """Returns state for saving
     """
     ret_dict = GameObject.getStateForSaving(self)
     ret_dict["Inventory"] = self.inventory.serializeInventory()
     return ret_dict