Package cero.games.base

Examples of cero.games.base.RulePlayInCircle


      CardUno cu = (CardUno) c;
      if (cu.getValue() == CardUno.INVERSION)
        getGame().getPlayers().sort(new InvertSorter());
      if (cu.getValue() == CardUno.PLUS2) {
        makePlayerDraw(getGame().getPlayers().getSortedList().get(1), 2);
        getGame().getPlayers().sort(new RulePlayInCircle());
      }
      if (cu.getValue() == CardUno.PASSE)
        getGame().getPlayers().sort(new RulePlayInCircle());
      if (cu instanceof BlackUnoCard) {
        if (cu.getValue() == BlackUnoCard.PLUS4) {
          makePlayerDraw(getGame().getPlayers().getSortedList()
              .get(1), 4);
          getGame().getPlayers().sort(new RulePlayInCircle());
        }
        // choosing the new color
        List<String> col = Arrays.asList(CardUno.colors);
        ChoiceMaker choiceMaker = getEvent().getPlayer()
            .getChoiceMaker();
View Full Code Here

TOP

Related Classes of cero.games.base.RulePlayInCircle

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.