Initial Commit: CC - SpoonLib - Entity Loaded (x6shtke1dz.js)

beta.r3js.org
-=yb4f310 2018-01-17 15:15:53 +01:00
parent c2ced5b548
commit 32eefa4b7b
1 changed files with 50 additions and 0 deletions

50
x6shtke1dz.js Normal file
View File

@ -0,0 +1,50 @@
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