Пример #1
0
 @Override
 public void resize(int width, int height) {
   for (ScreenListener listener : screenListeners) {
     listener.resize(width, height);
   }
   screenCamera.resize(width, height);
 }
Пример #2
0
  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);
    }
  }
Пример #3
0
  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);
    }
  }