wip
This commit is contained in:
parent
c0d28358d6
commit
aa7dd98119
2 changed files with 54 additions and 7 deletions
|
|
@ -273,7 +273,7 @@ export class DropAndFusionGame extends EventEmitter<{
|
|||
}
|
||||
}
|
||||
|
||||
private gameOver() {
|
||||
public gameOver() {
|
||||
this.isGameOver = true;
|
||||
if (this.tickRaf) window.cancelAnimationFrame(this.tickRaf);
|
||||
this.tickRaf = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue