Timer overhaul: update tests
This commit is contained in:
parent
5d41292bf6
commit
cec76b63dc
78 changed files with 521 additions and 495 deletions
|
|
@ -6,7 +6,7 @@ import mcrfpy
|
|||
import sys
|
||||
import time
|
||||
|
||||
def run_test(runtime):
|
||||
def run_test(timer, runtime):
|
||||
print("=" * 60)
|
||||
print("FOV Isolation Test - Is TCOD slow, or is it the Python wrapper?")
|
||||
print("=" * 60)
|
||||
|
|
@ -96,4 +96,4 @@ def run_test(runtime):
|
|||
|
||||
init = mcrfpy.Scene("init")
|
||||
init.activate()
|
||||
mcrfpy.setTimer("test", run_test, 100)
|
||||
test_timer = mcrfpy.Timer("test", run_test, 100, once=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue