Package com.svanloon.game.wizard.human.screen

Examples of com.svanloon.game.wizard.human.screen.RulesScreen


    JMenuItem rules = new JMenuItem(LanguageFactory.getInstance().getString(MessageId.RULES));
    help.add(rules);
    rules.addActionListener(new ActionListener(){
      public void actionPerformed(ActionEvent e) {
        RulesScreen is = new RulesScreen();
        is.show();       
      }
    });
    JMenuItem credit = new JMenuItem(LanguageFactory.getInstance().getString(MessageId.CREDITS));
    help.add(credit);
    credit.addActionListener(new ActionListener(){
View Full Code Here


      gameType = GameType.HOSTED;
    }else if(LanguageFactory.getInstance().getString(MessageId.CONNECT_TO_A_GAME).equals(actionCommand)) {
      close = true;
      gameType = GameType.CONNECT_TO_A_GAME;
    } else if(LanguageFactory.getInstance().getString(MessageId.RULES).equals(actionCommand)) {
      RulesScreen rs = new RulesScreen();
      rs.show();
    } else if(LanguageFactory.getInstance().getString(MessageId.CREDITS).equals(actionCommand)) {
      CreditScreen cs = new CreditScreen();
      cs.show();
    } else if(LanguageFactory.getInstance().getString(MessageId.INSTRUCTIONS).equals(actionCommand)) {
      InstructionScreen is = new InstructionScreen();
View Full Code Here

TOP

Related Classes of com.svanloon.game.wizard.human.screen.RulesScreen

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.