Examples of RunGame


Examples of com.mime.minefront.RunGame

  @Override
  public void actionPerformed(ActionEvent e) {
    if (e.getSource() == play) {
      dispose();
      new RunGame();
    }
    if (e.getSource() == options) {
      dispose();
      new Options();
    }
View Full Code Here

Examples of com.mime.minefront.RunGame

      if (InputHandler.MouseX > 690 && InputHandler.MouseX < 690 + 80 && InputHandler.MouseY > 130 && InputHandler.MouseY < 130 + 30) {
        g.drawImage(ImageIO.read(Launcher.class.getResource("/menu/play_on.png")), 690, 130, 80, 30, null);
        g.drawImage(ImageIO.read(Launcher.class.getResource("/menu/arrow.png")), 770, 132, 20, 20, null);
        if(InputHandler.Mouse[1]) {
          dispose();
          new RunGame();
        }
      } else {
        g.drawImage(ImageIO.read(Launcher.class.getResource("/menu/play_off.png")), 690, 130, 80, 30, null);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.