mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Corrected negative timers
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import timer;
|
||||
|
||||
var a = createTimer(1, 0);
|
||||
var b = createTimer(2, 0);
|
||||
|
||||
print a.compareTimer(b).timerToString();
|
||||
print b.compareTimer(a).timerToString();
|
||||
|
||||
var c = createTimer(0, 1);
|
||||
var d = createTimer(0, 2);
|
||||
|
||||
print c.compareTimer(d).timerToString();
|
||||
print d.compareTimer(c).timerToString();
|
||||
|
||||
Reference in New Issue
Block a user