2018-01-16 09:37:15 +01:00
|
|
|
if (this.parentEntity === data.entity) {
|
|
|
|
console.log('Entity SpoonLib Loaded');
|
|
|
|
|
2018-01-16 14:04:40 +01:00
|
|
|
this.animationSystem = GameLib.EntityManager.Instance.queryComponents(GameLib.Component.SYSTEM_ANIMATION)[0];
|
2018-01-16 14:03:37 +01:00
|
|
|
|
|
|
|
|
2018-01-16 13:56:59 +01:00
|
|
|
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('uou2i9be9r');
|
2018-01-17 12:36:27 +01:00
|
|
|
|
|
|
|
this.touchStart = GameLib.EntityManager.Instance.findComponentById('9m43m5angb');
|
|
|
|
this.touchMove = GameLib.EntityManager.Instance.findComponentById('ktf4wzckvh');
|
2018-01-16 13:56:59 +01:00
|
|
|
this.touchEnd = GameLib.EntityManager.Instance.findComponentById('r17o00dvgo');
|
|
|
|
|
2018-01-16 14:00:00 +01:00
|
|
|
|
|
|
|
this.mouseUp = GameLib.EntityManager.Instance.findComponentById('abw1ga2etc');
|
2018-01-16 13:56:59 +01:00
|
|
|
this.mouseDown = GameLib.EntityManager.Instance.findComponentById('f3b90qedii');
|
|
|
|
this.mouseWheel = GameLib.EntityManager.Instance.findComponentById('opxis1pjmo');
|
2018-01-16 14:08:48 +01:00
|
|
|
this.mouseMove = GameLib.EntityManager.Instance.findComponentById('arswdj0syh');
|
|
|
|
|
|
|
|
this.cylinder = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq');
|
2018-01-16 13:56:59 +01:00
|
|
|
|
2018-01-16 09:37:15 +01:00
|
|
|
this.keyUp = GameLib.EntityManager.Instance.findComponentById('opxis1pjmo');
|
|
|
|
this.camera = GameLib.EntityManager.Instance.findComponentById('32sdim4koy');
|
|
|
|
this.textCanvas = GameLib.EntityManager.Instance.findComponentById('c8tk5ha6nw');
|
|
|
|
this.textTexture = GameLib.EntityManager.Instance.findComponentById('eprfl2ynkx');
|
2018-01-16 13:30:04 +01:00
|
|
|
this.particleEngine = GameLib.EntityManager.Instance.findComponentById('l60d7ra270');
|
|
|
|
this.particle = GameLib.EntityManager.Instance.findComponentById('mvo0gyajun');
|
2018-01-16 09:37:15 +01:00
|
|
|
|
2018-01-16 10:43:22 +01:00
|
|
|
this.camera2d = GameLib.EntityManager.Instance.findComponentById('majq7lytaz');
|
2018-01-16 10:43:07 +01:00
|
|
|
|
2018-01-16 13:56:59 +01:00
|
|
|
this.beforeRender.entityLoaded = this;
|
2018-01-16 09:37:15 +01:00
|
|
|
this.keyUp.entityLoaded = this;
|
2018-01-17 12:36:27 +01:00
|
|
|
|
|
|
|
this.touchStart.entityLoaded = this;
|
|
|
|
this.touchMove.entityLoaded = this;
|
|
|
|
this.touchEnd.entityLoaded = this;
|
|
|
|
|
2018-01-16 14:00:00 +01:00
|
|
|
this.mouseUp.entityLoaded = this;
|
2018-01-16 13:56:59 +01:00
|
|
|
this.mouseDown.entityLoaded = this;
|
2018-01-16 14:00:00 +01:00
|
|
|
this.mouseWheel.entityLoaded = this;
|
2018-01-16 14:08:48 +01:00
|
|
|
this.mouseMove.entityLoaded = this;
|
2018-01-16 09:37:15 +01:00
|
|
|
}
|
|
|
|
|
2018-01-17 12:51:26 +01:00
|
|
|
//@ sourceURL=SpoonLibEntityLoaded.js
|