Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity.js Tween function uses unknown Timer class. #8

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments
Open

Entity.js Tween function uses unknown Timer class. #8

GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Should that be TimerClass instead? It works if I change it that way, but not 
sure if that is intended.

this bit of code in Entity.js

this.start = function () {
    this.complete = false;
    this.paused = false;
    this.loopNum = this.loopCount;
    _elapsed = 0;
    if (_object.tweens.indexOf(this) == -1) _object.tweens.push(this);
    started = true;
    timer = new TimerClass(); // <--- originally says: timer = new Timer();
    timer.reset();

Original issue reported on code.google.com by [email protected] on 16 Apr 2013 at 11:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant