private void update() { if (controller == null) { return; } controller.update(); }
public void pause() { paused = true; controller.restart(); }
public void unpause() { paused = false; currentTime = SystemClock.uptimeMillis(); controller.restart(); }