Initial Commit: CC - Entity Loaded - Moorcow (gr0qs6v7dd.js)

beta.r3js.org
-=yb4f310 2017-11-07 00:33:40 +01:00
parent e69e10098a
commit 6b4e72cecd
1 changed files with 16 additions and 0 deletions

16
gr0qs6v7dd.js Normal file
View File

@ -0,0 +1,16 @@
if (this.parentEntity === data.entity) {
console.log('my entity loaded :)');
} else {
return;
}
this.enemies = [];
/**
* Min and max spawn time is in seconds
*/
GameLib.D3.CustomCode.MIN_SPAWN_TIME = 1;
GameLib.D3.CustomCode.MAX_SPAWN_TIME = 4;
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('9l6o7974qx');
this.beforeRender.entityLoaded = this;