Ejemplo n.º 1
0
 def showLoot(self, plunder = [], gold = 0, collect = 0, card = 0, cloth = 0, color = 0, jewel = None, tattoo = None, weapon = None, bounty = 0):
     LootPopupPanel = LootPopupPanel
     import pirates.piratesgui.LootPopupPanel
     msg = LootPopupPanel()
     msg.reparentTo(self)
     msg.showLoot(plunder, gold, collect, card, cloth, color, jewel, tattoo, weapon, bounty)
     self.addMessage(msg)
Ejemplo n.º 2
0
 def loadLootPanel(self):
     if self.lootPanel:
         return
     self.lootPanel = LootPopupPanel.LootPopupPanel()
     self.lootPanel.reparentTo(self)
     self.lootPanel.setPos(0.05, 0, 0)
     self.lootPanel.hide()
Ejemplo n.º 3
0
 def showLoot(self, plunder = [], gold = 0, collect = 0, card = 0, cloth = 0, color = 0, jewel = None, tattoo = None, weapon = None, bounty = 0):
     LootPopupPanel = LootPopupPanel
     import pirates.piratesgui.LootPopupPanel
     msg = LootPopupPanel()
     msg.reparentTo(self)
     msg.showLoot(plunder, gold, collect, card, cloth, color, jewel, tattoo, weapon, bounty)
     self.addMessage(msg)