Example #1
0
    def __init__(self, win, x, y):
        ControlBar.__init__(self, win, x, y, (0, 200, 120), (0, 80, 0))

        self.centerx, self.centery = self.x + 1, self.y + 4
        self.backdrop = ['/P\\',
                        '|.|',
                        '|.|',
                        '|.|',
                        '|-|',
                        '|.|',
                        '|.|',
                        '|.|',
                        '\-/']
        self.axis = 'RIGHT-TRIGGER'
Example #2
0
    def __init__(self, win, x, y):
        ControlBar.__init__(self, win, x, y, 'lime', 'olive')

        self.centerx, self.centery = self.x + 1, self.y + 4
        self.backdrop = ['/H\\',
                        '|.|',
                        '|.|',
                        '|.|',
                        '|-|',
                        '|.|',
                        '|.|',
                        '|.|',
                        '\-/']
        self.axis = 'LEFT-TRIGGER'