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