Ejemplo n.º 1
0
    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
Ejemplo n.º 2
0
 def __init__(self, room, x, y, text):
     TextObject.__init__(self, room, x, y, text)
     self.handle_key_events = True
Ejemplo n.º 3
0
    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