Skip to content

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

@GoogleCodeExporter

Description

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions