basics.py 287 B

123456789101112131415
  1. from jogai import *
  2. from jogai.utils import _get_keys, eval_key
  3. def test_example01():
  4. prepare('02.yaml')
  5. sq = StairsGroup(brick, 5)
  6. add_group(sq)
  7. crono = Chronometer(5)
  8. add_text(crono)
  9. crono.init()
  10. while is_running():
  11. update()
  12. print(crono)