Exemplo n.º 1
0
    def __init__(self, position, screen, background = 'MenuScreen.png'):
        self.sprites = config.Alphabet().sprites
#        self.sprites = SpriteSheetLoader('../res/Ascii.png', 16, 16).getSpriteList()
        self.cursor = pygame.image.load('../res/cursor.png').convert_alpha()
        self.screen = screen
        self.options = []
        self.position = position
        self.choice = 1
        self.background = background
Exemplo n.º 2
0
 def __init__(self, string, position = Point(0,0)):
     self.string = string
     self.position = position
     self.letters = config.Alphabet().sprites
     self.sprite = self.convert()