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

beta.r3js.org
-=yb4f310 2018-03-24 19:13:08 +01:00
parent 3a5e0dce83
commit 7393340ba6
1 changed files with 7 additions and 0 deletions

View File

@ -84,6 +84,7 @@ this.beforeRender = GameLib.EntityManager.Instance.findComponentById('zjq6ach3j
this.keyUp = GameLib.EntityManager.Instance.findComponentById('306204wy29');
this.touchEnd = GameLib.EntityManager.Instance.findComponentById('0j2wxrtdf2');
this.mouseDown = GameLib.EntityManager.Instance.findComponentById('gzewp2awcf');
this.mouseUp = GameLib.EntityManager.Instance.findComponentById('ckplg6wqnl');
/**
* Geometries
@ -1839,6 +1840,9 @@ GameLib.Event.Subscribe(
this.mouseDown.initialized = false;
this.mouseDown.entityLoaded = this;
this.mouseUp.initialized = false;
this.mouseUp.entityLoaded = this;
console.log('starting game snake');
}.bind(this)
@ -1860,6 +1864,9 @@ GameLib.Event.Subscribe(
this.mouseDown.initialized = false;
this.mouseDown.entityLoaded = null;
this.mouseUp.initialized = false;
this.mouseUp.entityLoaded = null;
console.log('starting game snake');
}.bind(this)
)