Update: CC - Snake FS - Mouse Down (gzewp2awcf.js) 184 bytes modified
parent
dfc4b891a4
commit
af5ec932e5
|
@ -82,7 +82,14 @@ intersects.map(
|
|||
}
|
||||
|
||||
if (intersect.mesh.id === 'f5xmype7dq') {
|
||||
console.log('todo: pause');
|
||||
this.state.paused = !this.state.paused;
|
||||
|
||||
if (this.state.paused) {
|
||||
GameLib.Event.Emit(GameLib.Event.PAUSE_ALL_AUDIO);
|
||||
} else {
|
||||
GameLib.Event.Emit(GameLib.Event.CONTINUE_ALL_AUDIO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (intersect.mesh.id === '0eo0kat3fb') {
|
||||
|
|
Loading…
Reference in New Issue