def __init__(self, room, x, y, text='Not Set', size=60, font='Comic Sans MS', colour=(0, 0, 0), bold=False): TextObject.__init__(self, room, x, y, text, size, font, colour, bold) self.handle_key_events = True
def __init__(self, room, x, y, text): TextObject.__init__(self, room, x, y, text) self.handle_key_events = True
def __init__(self, room, x, y, text, game_title, font_size): TextObject.__init__(self, room, x, y, text, font_size, 'LiberationMono', (255, 255, 255)) self.game_title = game_title