Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 240 bytes modified
parent
239efef950
commit
310147e73c
|
@ -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)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue