Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/jgame.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 117 by tsugehara, Tue Jul 30 08:43:05 2013 UTC revision 121 by tsugehara, Tue Jul 30 11:10:06 2013 UTC
# Line 2787  var jg; Line 2787  var jg;
2787          GameTimer.prototype.tryFire = function (t) {          GameTimer.prototype.tryFire = function (t) {
2788              this.tick += t;              this.tick += t;
2789              if (this.wait <= this.tick)              if (this.wait <= this.tick)
2790                  this.fire(t);                  this.fire();
2791          };          };
2792    
2793          GameTimer.prototype.fire = function (t) {          GameTimer.prototype.fire = function () {
2794              this.tick = 0;              this.tick = 0;
2795    
2796              this.trigger.fastFire(t);              this.trigger.fastFire(this);
2797          };          };
2798          return GameTimer;          return GameTimer;
2799      })();      })();

Legend:
Removed from v.117  
changed lines
  Added in v.121

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26