Add game over screen
This commit is contained in:
parent
f91febfd3c
commit
a11dfb9352
5 changed files with 96 additions and 15 deletions
|
@ -52,6 +52,7 @@ export function changeView(view) {
|
|||
gui.changeView('instructions');
|
||||
} else if (view === 'menu') {
|
||||
gui.changeView('menu');
|
||||
world.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue