Exemple #1
0
 @Override
 public void pause() {
   ticking = false;
   playerCursor.setTicking(false);
   playerHUD.setTicking(false);
   playerInventory.setTicking(false);
 }
Exemple #2
0
 @Override
 public void resume() {
   ticking = true;
   playerCursor.setTicking(true);
   playerHUD.setTicking(true);
   playerInventory.setTicking(true);
 }
Exemple #3
0
 @Override
 public void show() {
   playerCursor.setVisible(true);
   playerHUD.setVisible(true);
 }