/** * Calls render for all attached and initialized states, do not call directly. */ public void postRender(){ AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.postRender(); } } }
/** * Calls render for all attached and initialized states, do not call directly. * @param rm The RenderManager */ public void render(RenderManager rm){ AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.render(rm); } } }
/** * Calls update for attached states, do not call directly. * @param tpf Time per frame. */ public void update(float tpf){ // Cleanup any states pending terminatePending(); // Initialize any states pending initializePending(); // Update enabled states AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.update(tpf); } } }
/** * Calls render for all attached and initialized states, do not call directly. * @param rm The RenderManager */ public void render(RenderManager rm){ AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.render(rm); } } }
/** * Calls render for all attached and initialized states, do not call directly. */ public void postRender(){ AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.postRender(); } } }
/** * Calls render for all attached and initialized states, do not call directly. * @param rm The RenderManager */ public void render(RenderManager rm){ AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.render(rm); } } }
/** * Calls render for all attached and initialized states, do not call directly. */ public void postRender(){ AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.postRender(); } } }
/** * Calls update for attached states, do not call directly. * @param tpf Time per frame. */ public void update(float tpf){ // Cleanup any states pending terminatePending(); // Initialize any states pending initializePending(); // Update enabled states AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.update(tpf); } } }
/** * Calls update for attached states, do not call directly. * @param tpf Time per frame. */ public void update(float tpf){ // Cleanup any states pending terminatePending(); // Initialize any states pending initializePending(); // Update enabled states AppState[] array = getStates(); for (AppState state : array){ if (state.isEnabled()) { state.update(tpf); } } }