Пример #1
0
 private void update() {
   if (controller == null) {
     return;
   }
   controller.update();
 }
Пример #2
0
 public void pause() {
   paused = true;
   controller.restart();
 }
Пример #3
0
  public void unpause() {
    paused = false;
    currentTime = SystemClock.uptimeMillis();

    controller.restart();
  }