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

Method tick

brainworkshop.py:3553–3559  ·  view source on GitHub ↗
(self, dt)

Source from the content-addressed store, hash-verified

3551 self.color = (0, 0, 255, 255)
3552
3553 def tick(self, dt):
3554 self.counter += 1
3555 if self.counter == cfg.SACCADIC_REPETITIONS:
3556 self.stop()
3557 elif self.position == 'left':
3558 self.position = 'right'
3559 else: self.position = 'left'
3560
3561 def start(self):
3562 self.position = 'left'

Callers 4

play_musicFunction · 0.80
create_batchMethod · 0.80
update_all_labelsFunction · 0.80
new_sessionFunction · 0.80

Calls 1

stopMethod · 0.95

Tested by

no test coverage detected