(self)
| 2969 | # this is the congratulations message which appears when advancing N-back levels. |
| 2970 | class CongratsLabel: |
| 2971 | def __init__(self): |
| 2972 | self.label = pyglet.text.Label( |
| 2973 | '', |
| 2974 | font_size=calc_fontsize(14), |
| 2975 | color=(255, 32, 32, 255), |
| 2976 | x=field.center_x, y=from_top_edge(47), |
| 2977 | anchor_x='center', anchor_y='center', batch=batch) |
| 2978 | self.update() |
| 2979 | def update(self, show=False, advance=False, fallback=False, awesome=False, great=False, good=False, perfect = False): |
| 2980 | str_list = [] |
| 2981 | if show and not CLINICAL_MODE and cfg.USE_SESSION_FEEDBACK: |
nothing calls this directly
no test coverage detected