What steps will reproduce the problem?
private long waitSec = 2;
...
in onEnter method of a CCLayer:
schedule(nextCallback, waitSec);
...
private UpdateCallback nextCallback = new UpdateCallback() {
@Override
public void update(float d) {
doSomething()
}
}
};
What is the expected output? What do you see instead?
Expected: nextCallBack called only after 2 seconds.
Instead: nextCallBack called very quickly.
Had to calculate mySelf elapsed time with System.currentTimeMillis() which is
not big deal but i'd rather prefer base my code on library.
Thank you.
Original issue reported on code.google.com by vcarl...@gmail.com on 16 Feb 2011 at 11:18
Original issue reported on code.google.com by
vcarl...@gmail.com
on 16 Feb 2011 at 11:18