

def __init__(self):
    super(MainMenu, self).__init__('TETRICO')
    self.select_sound = soundex.load('move.mp3')
    self.font_title['font_name'] = 'Edit Undo Line BRK'
    self.font_title['font_size'] = 72
    self.font_title['color'] = (204, 164, 164, 255)
    self.font_item['font_name'] = ('Edit Undo Line BRK',)
    self.font_item['color'] = (32, 16, 32, 255)
    self.font_item['font_size'] = 32
    self.font_item_selected['font_name'] = 'Edit Undo Line BRK'
    self.font_item_selected['color'] = (32, 16, 32, 255)
    self.font_item_selected['font_size'] = 46
    self.menu_anchor_y = CENTER
    self.menu_anchor_x = CENTER
    items = []
    items.append(MenuItem('New Game', self.on_new_game))
    items.append(MenuItem('Options', self.on_options))
    items.append(MenuItem('Scores', self.on_scores))
    items.append(MenuItem('Quit', self.on_quit))
    self.create_menu(items, shake(), shake_back())

dataset/ETHPy150Open los-cocos/cocos/samples/tetrico/tetrico.py MainMenu.__init__/original