Update: CC - Entity Loaded - Moorcow (gr0qs6v7dd.js) 419 bytes modified

beta.r3js.org
-=yb4f310 2017-11-08 12:24:50 +01:00
parent 521e4676b0
commit 461e53400d
1 changed files with 17 additions and 1 deletions

View File

@ -15,5 +15,21 @@ particle.instance.visible = false;
GameLib.D3.CustomCode.MIN_SPAWN_TIME = 1;
GameLib.D3.CustomCode.MAX_SPAWN_TIME = 4;
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('9l6o7974qx');
/**
* Tell all our custom code components that we loaded
*/
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('9l6o7974qx');
this.beforeRender.entityLoaded = this;
this.mouseUp = GameLib.EntityManager.Instance.findComponentById('7vjcf5lwek');
this.mouseUp.entityLoaded = this;
this.mouseDown = GameLib.EntityManager.Instance.findComponentById('yfdl3odo4j');
this.mouseDown.entityLoaded = this;
this.mouseMove = GameLib.EntityManager.Instance.findComponentById('fsilsam72g');
this.mouseMove.entityLoaded = this;