Package cero.ui

Examples of cero.ui.ChoiceMaker


              .get(1), 4);
          getGame().getPlayers().sort(new RulePlayInCircle());
        }
        // choosing the new color
        List<String> col = Arrays.asList(CardUno.colors);
        ChoiceMaker choiceMaker = getEvent().getPlayer()
            .getChoiceMaker();
        if (choiceMaker != null) {
          List<Object> choice = choiceMaker.chooseFrom(
              "Quelle est la nouvelle couleur ?", col, 1);

          cu.setActiveColor(col.indexOf(choice.iterator().next()));
        } else
          throw new RuntimeException(
View Full Code Here

TOP

Related Classes of cero.ui.ChoiceMaker

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.