Add pause and precision controls

This commit is contained in:
asraelite 2018-03-07 16:10:56 +00:00
parent 2959c39da7
commit f91febfd3c
3 changed files with 22 additions and 11 deletions

View file

@ -58,11 +58,12 @@ export function changeView(view) {
function tick() {
events.tick();
if (state.view == 'game') {
if (state.view == 'game' && !state.paused) {
world.tick();
control.tick();
}
control.tick();
gui.tick();
graphics.render();
input.tick();