function handlePlaying() { // enter build mode if(keyPress[k.BACKSLASH]) { globalState = globalStates.building; } updateLife(); }