def showInvestigator(self): """ This is the only function the button needs to call """ if self.Environment.CurrentPhase == "Setup": temp = [] for x in self.Environment.PlayerDictionary: temp.append(x) Choice = self.Environment.ListChoose("Setup", "Who do you want to view?", temp) Player1 = self.Environment.PlayerDictionary[Choice] if self.Environment.CurrentPhase != "Setup": Player1 = self.Environment.CurrentPlayer characterscreen.viewPlayer(Player1, self.Environment)
def EquipFunction(self): characterscreen.viewPlayer(self.Player, self.Env) self.retranslateUi(self.CombatUI)
def EquipFunction(self): characterscreen.viewPlayer(self.Environment.CurrentPlayer, self.Environment)