MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / __init__

Method __init__

brainworkshop.py:2971–2978  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2969# this is the congratulations message which appears when advancing N-back levels.
2970class 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:

Callers

nothing calls this directly

Calls 3

updateMethod · 0.95
calc_fontsizeFunction · 0.85
from_top_edgeFunction · 0.85

Tested by

no test coverage detected