Browse Subversion Repository
Diff of /trunk/src/js/jgame.js
Parent Directory
| Revision Log
| Patch
| 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 |
|
|
|