示例#1
0
 public void hide() {
   visible = false;
   hud.refresh();
 }
示例#2
0
 public void toggle() {
   visible = !visible;
   hud.refresh();
 }
示例#3
0
 // show/hide methods:
 public void show() {
   visible = true;
   hud.refresh();
 }