예제 #1
0
 @Override
 protected void init() {
   super.init();
   screen.setVisible(false);
   getScreenDirector().addActor(screen);
   getOSinterface().setMultiplayerControllerAndAttemptToConnect(multiplayerController);
 }
예제 #2
0
 @Override
 void activate() {
   super.activate();
   boolean fromSplash = checkForSplashScreen();
   screen.buildViews();
   screen.clearActions();
   screen.setVisible(true);
   getScreenDirector().addActor(screen);
   if (fromSplash) screen.revealAnimation();
   screen.startShowAnimation();
 }