Timer overhaul: update tests

This commit is contained in:
John McCardle 2026-01-03 22:44:53 -05:00
commit cec76b63dc
78 changed files with 521 additions and 495 deletions

View file

@ -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)