| 2774 | anchor_x='center', anchor_y='center', batch=batch) |
| 2775 | self.update() |
| 2776 | def update(self): |
| 2777 | if mode.started and mode.hide_text: |
| 2778 | self.label.text = '' |
| 2779 | else: |
| 2780 | str_list = [] |
| 2781 | if cfg.JAEGGI_MODE and not CLINICAL_MODE: |
| 2782 | str_list.append(_('Jaeggi mode: ')) |
| 2783 | if mode.manual: |
| 2784 | str_list.append(_('Manual mode: ')) |
| 2785 | str_list.append(mode.long_mode_names[mode.mode] + ' ') |
| 2786 | if cfg.VARIABLE_NBACK: |
| 2787 | str_list.append(_('V. ')) |
| 2788 | str_list.append(str(mode.back)) |
| 2789 | str_list.append(_('-Back')) |
| 2790 | self.label.text = ''.join(str_list) |
| 2791 | |
| 2792 | def flash(self): |
| 2793 | pyglet.clock.unschedule(gameModeLabel.unflash) |