update tests: new scene API
This commit is contained in:
parent
f62362032e
commit
838da4571d
142 changed files with 616 additions and 601 deletions
|
|
@ -132,8 +132,8 @@ def run_tests(runtime):
|
|||
mcrfpy.setTimer("final_check", final_check, 2000)
|
||||
|
||||
# Create a minimal scene
|
||||
mcrfpy.createScene("timer_test")
|
||||
mcrfpy.setScene("timer_test")
|
||||
timer_test = mcrfpy.Scene("timer_test")
|
||||
timer_test.activate()
|
||||
|
||||
# Start tests after game loop begins
|
||||
mcrfpy.setTimer("run_tests", run_tests, 100)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue