def __init__(self, client): self.state = "welcome" self.name = "" self.password = "" self.race = "" self.job = "" ModalDialog.__init__(self, client, 'New Player')
def __init__(self, client, username): ModalDialog.__init__(self, client,"Password for %s" % username) self.username = username
def __init__(self, client): ModalDialog.__init__(self, client, "Username:")