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