@Override public void resize(int width, int height) { for (ScreenListener listener : screenListeners) { listener.resize(width, height); } screenCamera.resize(width, height); }
void internal_sendOrientationScreenChanged() { ScreenEvent screenEvent = getAScreenEvent(); int count = screenListeners.size(); for (int i = 0; i < count; ++i) { ScreenListener listener = (ScreenListener) screenListeners.elementAt(i); listener.screenOrientationChanged(screenEvent); } }
void internal_sendScreenEventDeactivated() { isActiveForRunnable = false; ScreenEvent screenEvent = getAScreenEvent(); int count = screenListeners.size(); for (int i = 0; i < count; ++i) { ScreenListener listener = (ScreenListener) screenListeners.elementAt(i); listener.screenDeactivated(screenEvent); } }