Package game.gui

Examples of game.gui.GuiFocus


  public void focusLost(FocusEvent arg0) {
    if (arg0.getID() == FocusEvent.FOCUS_LOST) {
      if (isApplet) {
        isFocused = false;
        if ((gui != null && !gui.pausesGame()) || gui == null) {
          gui = new GuiFocus(this, Game.WIDTH, Game.HEIGHT);
        }
      } else {
        if ((gui != null && !gui.pausesGame()) || gui == null) {
          gui = new GuiPause(this, Game.WIDTH, Game.HEIGHT);
        }
View Full Code Here

TOP

Related Classes of game.gui.GuiFocus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.