public static void reload() { background.reload(); items.reload(); explosionTexture.reload(); shipTexture.reload(); invaderTexture.reload(); if (Settings.soundEnabled) music.play(); }
@Override public void resume() { GL10 gl = glGraphics.getGL(); gl.glViewport(0, 0, glGraphics.getWidth(), glGraphics.getHeight()); gl.glClearColor(1, 0, 0, 1); gl.glMatrixMode(GL10.GL_PROJECTION); gl.glLoadIdentity(); gl.glOrthof(0, 320, 0, 480, 1, -1); gl.glMatrixMode(GL10.GL_MODELVIEW); bobTexture.reload(); gl.glEnable(GL10.GL_TEXTURE_2D); bobTexture.bind(); }