Exemplo n.º 1
0
 def __init__(self, text, x, y):
     Drawable.__init__(self, x, y)
     self.text = text
Exemplo n.º 2
0
 def __init__(self, x, y, width, height, colour, empty):
     Drawable.__init__(self, x, y)
     self.width = width
     self.height = height
     self.colour = colour
     self.empty = empty
Exemplo n.º 3
0
 def __init__(self, x, y, total_length=10, height=10, thickness=LINE_THICKNESS, colour=pygame.color.THECOLORS['white']):
     Drawable.__init__(self, x, y)
     self.width = total_length
     self.height = height
     self.thickness = thickness
     self.colour = colour