Package net.sf.nebulacards.util.proc

Examples of net.sf.nebulacards.util.proc.DealProc


   * @return An array of game procedures, to be traversed from lowest index to
   *         highest.
   * @version 0.5
   */
  public GameProcedure[] getProcedureOrdering() {
    GameProcedure[] defaultOrder = { new DealProc(),
        new GameProcedure(GameProcedure.BIDDING),
        new GameProcedure(GameProcedure.PASSING),
        new GameProcedure(GameProcedure.ASKTRUMP),
        new GameProcedure(GameProcedure.DIRECTCOM) };
    return defaultOrder;
View Full Code Here


      tableau = new Tableau();
      GameProcedure[] order = m_game.getProcedureOrdering();
      for (int i = 0; order != null && i < order.length; i++) {
        switch (order[i].getProcedure()) {
        case GameProcedure.DEALCARDS:
          (new DealProc()).runProcedure(coms, m_game);
          break;
        case GameProcedure.BIDDING:
          if (m_game instanceof BiddingRules)
            conductBidding();
          break;
View Full Code Here

TOP

Related Classes of net.sf.nebulacards.util.proc.DealProc

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.