def __init__(self, settings): _wpf.LoadComponent(self, 'Easy.xaml') self.ButtonArray = [ self.Button1, self.Button2, self.Button3, self.Button4, self.Button5, self.Button6, self.Button7, self.Button8, self.Button9, self.Button10, self.Button11, self.Button12 ] self.bw = retrieveWord(settings) self.Settings = settings self.tba = [self.T1, self.T2, self.T3, self.T4, self.T5, self.T6] self.LP = 5 self.hms = self.HangManStatus self.LifeLabel.Content = str(self.LP) runStarter(self.ButtonArray, self.tba, self.bw, self.Settings)
def __init__(self): _wpf.LoadComponent(self, 'LoseScreen.xaml')
def __init__(self): self.ui = _wpf.LoadComponent(self, 'Hangman.xaml')
def __init__(self): self.ui = _wpf.LoadComponent(self, 'WinScreen.xaml')
def __init__(self): self.ui = _wpf.LoadComponent(self, 'Level.xaml')