Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 21 bytes modified
parent
10561129cf
commit
c618117f08
|
@ -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() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue