Exemplo n.º 1
0
    def __init__(self, values_range, coordinates, initial_value):
        super().__init__(values_range, coordinates, initial_value)

        # Load images
        self.bg_image = assets.load_image('indicator_background')
        self.hand_image = assets.load_image('indicator_hand')

        self.labels = self.generate_labels()
Exemplo n.º 2
0
 def initialize_background(self):
     background = assets.load_image('background')
     self.screen.blit(background, (0, 0))
Exemplo n.º 3
0
    def __init__(self, values_range, coordinates, initial_value):
        super().__init__(values_range, coordinates, initial_value)

        # Load images
        self.bg_image = assets.load_image('compass_background')
        self.hand_image = assets.load_image('compass_hand')