/** * Handles the basic update loop, checking to see if we are in the running state, determining if a * move should be made, updating the snake's location. */ public void update() { if (mMode == RUNNING) { clearTiles(); updateBackground(); mRedrawHandler.update(); } }