Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 21 bytes modified

beta.r3js.org
-=yb4f310 2018-03-09 19:25:10 +01:00
parent 10561129cf
commit c618117f08
1 changed files with 2 additions and 3 deletions

View File

@ -68,11 +68,10 @@ this.camera = GameLib.EntityManager.Instance.findComponentById('hd8dsn7o4c');
this.raycaster = GameLib.EntityManager.Instance.findComponentById('h3yxd73sz7');
this.mouse = GameLib.EntityManager.Instance.findComponentById('eriv6mcw8k');
GameLib.CustomCode.prototype.loadLevel(index) {
GameLib.CustomCode.prototype.loadLevel = function(index) {
var image = this['level' + index];
var heightData = image.getHeightData();
}
}.bind(this);
GameLib.CustomCode.prototype.spawnRoadSections = function() {