Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 230 bytes modified
parent
3a5e0dce83
commit
7393340ba6
|
@ -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
|
||||
|
@ -1840,6 +1841,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)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue