if (this.parentEntity === data.entity) { console.log('Entity SpoonLib Loaded'); this.animationSystem = GameLib.EntityManager.Instance.queryComponents(GameLib.Component.SYSTEM_ANIMATION)[0]; this.beforeRender = GameLib.EntityManager.Instance.findComponentById('98ckiy76lb'); this.touchStart = GameLib.EntityManager.Instance.findComponentById('3hydxnm019'); this.touchMove = GameLib.EntityManager.Instance.findComponentById('tlfd3vbn9k'); this.touchEnd = GameLib.EntityManager.Instance.findComponentById('ild66f6e9m'); this.mouseUp = GameLib.EntityManager.Instance.findComponentById('l5hb4jx1ke'); this.mouseDown = GameLib.EntityManager.Instance.findComponentById('xcuv7akc4v'); this.mouseWheel = GameLib.EntityManager.Instance.findComponentById('schmhl1bp5'); this.mouseMove = GameLib.EntityManager.Instance.findComponentById('n2spe826mj'); this.cylinder = GameLib.EntityManager.Instance.findComponentById('2jpfk3eve6'); this.camera = GameLib.EntityManager.Instance.findComponentById('fa2c27w63p'); this.textCanvas = GameLib.EntityManager.Instance.findComponentById('tba7fmj5ve'); this.textTexture = GameLib.EntityManager.Instance.findComponentById('b1ygasug5p'); this.particleEngine = GameLib.EntityManager.Instance.findComponentById('5qvnngmqv6'); this.particle = GameLib.EntityManager.Instance.findComponentById('p1d8f1q774'); this.camera2d = GameLib.EntityManager.Instance.findComponentById('w69e7e2mmy'); this.audioDrone = GameLib.EntityManager.Instance.findComponentById('mau1fe4qw2'); this.beforeRender.entityLoaded = this; this.touchStart.entityLoaded = this; this.touchMove.entityLoaded = this; this.touchEnd.entityLoaded = this; this.mouseUp.entityLoaded = this; this.mouseDown.entityLoaded = this; this.mouseWheel.entityLoaded = this; this.mouseMove.entityLoaded = this; GameLib.Event.Emit( GameLib.Event.PLAY_AUDIO, { name : 'Audio - Drone' } ); } //@ sourceURL=SpoonLibEntityLoaded.js