Add game over screen

This commit is contained in:
asraelite 2018-03-07 17:01:14 +00:00
parent f91febfd3c
commit a11dfb9352
5 changed files with 96 additions and 15 deletions

View file

@ -52,6 +52,7 @@ export function changeView(view) {
gui.changeView('instructions');
} else if (view === 'menu') {
gui.changeView('menu');
world.clear();
}
}