Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/src/js/jgame.js

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

revision 33 by tsugehara, Wed Feb 27 02:24:34 2013 UTC revision 34 by tsugehara, Wed Feb 27 02:32:54 2013 UTC
# Line 2312  var Game = (function () { Line 2312  var Game = (function () {
2312      Game.prototype.s = function (name) {      Game.prototype.s = function (name) {
2313          return this.resource.sound(name);          return this.resource.sound(name);
2314      };      };
     Game.prototype.preloadArray = function (ary, loadingScene) {  
         var param = {  
         };  
         for(var i = 0; i < ary.length; i++) {  
             param[ary[i]] = ary[i];  
         }  
         this.preload(param);  
     };  
2315      Game.prototype.preload = function (ary, loadingScene) {      Game.prototype.preload = function (ary, loadingScene) {
2316          if(ary instanceof Array) {          if(ary instanceof Array) {
2317              for(var i = 0; i < ary.length; i++) {              for(var i = 0; i < ary.length; i++) {

Legend:
Removed from v.33  
changed lines
  Added in v.34

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