Timer overhaul: update tests
This commit is contained in:
parent
5d41292bf6
commit
cec76b63dc
78 changed files with 521 additions and 495 deletions
|
|
@ -7,8 +7,8 @@ def cb(a, t):
|
|||
print("CB")
|
||||
|
||||
test = mcrfpy.Scene("test")
|
||||
test.activate()
|
||||
test.activate()
|
||||
e = mcrfpy.Entity((0, 0), texture=None, sprite_index=0)
|
||||
a = mcrfpy.Animation("x", 1.0, 0.1, "linear", callback=cb)
|
||||
a.start(e)
|
||||
mcrfpy.setTimer("exit", lambda r: sys.exit(0), 200)
|
||||
mcrfpy.Timer("exit", lambda t, r: sys.exit(0), 200, once=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue