Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 240 bytes modified

beta.r3js.org
-=yb4f310 2018-03-24 17:18:29 +01:00
parent 239efef950
commit 310147e73c
1 changed files with 7 additions and 0 deletions

View File

@ -83,6 +83,7 @@ this.runtime = GameLib.Utils.GetRuntime();
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('zjq6ach3jt');
this.keyUp = GameLib.EntityManager.Instance.findComponentById('306204wy29');
this.touchEnd = GameLib.EntityManager.Instance.findComponentById('0j2wxrtdf2');
this.mouseDown = GameLib.EntityManager.Instance.findComponentById('gzewp2awcf');
/**
* Geometries
@ -1793,6 +1794,9 @@ GameLib.Event.Subscribe(
this.touchEnd.initialized = false;
this.touchEnd.entityLoaded = this;
this.mouseDown.initialized = false;
this.mouseDown.entityLoaded = this;
console.log('starting game snake');
}.bind(this)
@ -1811,6 +1815,9 @@ GameLib.Event.Subscribe(
this.touchEnd.initialized = false;
this.touchEnd.entityLoaded = null;
this.mouseDown.initialized = false;
this.mouseDown.entityLoaded = null;
console.log('starting game snake');
}.bind(this)
)