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
def __init__(self, string, position = Point(0,0)): self.string = string self.position = position self.letters = config.Alphabet().sprites self.sprite = self.convert()