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

Method flash

brainworkshop.py:2792–2796  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2790 self.label.text = ''.join(str_list)
2791
2792 def flash(self):
2793 pyglet.clock.unschedule(gameModeLabel.unflash)
2794 self.label.color = (255,0 , 255, 255)
2795 self.update()
2796 pyglet.clock.schedule_once(gameModeLabel.unflash, 0.5)
2797 def unflash(self, dt):
2798 self.label.color = cfg.COLOR_TEXT
2799 self.update()

Callers 1

on_key_pressFunction · 0.45

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected