Package com.poker.shared.PlayerMove

Examples of com.poker.shared.PlayerMove.Choose


        serialized += rank.name();
      }
    }

    if (state.getProcess() == 2) {
      Choose choose = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose.name();
    }
    if (state.getProcess() == 3) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name();
    }
    if (state.getProcess() == 4) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name()+ "_";
      serialized += state.getPlayers().get(0).getResult();
    }
    if (state.getProcess() == 5) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name() + "_";
      serialized += state.getPlayers().get(0).getResult() +"_";
      Decision decision2 = state.getPlayers().get(1).getDecision();
      serialized += decision2.name() + "_";
View Full Code Here


        serialized += rank.name();
      }
    }

    if (state.getProcess() == 2) {
      Choose choose = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose.name();
    }
    if (state.getProcess() == 3) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name();
    }
    if (state.getProcess() == 4) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name()+ "_";
      serialized += state.getPlayers().get(0).getResult();
    }
    if (state.getProcess() == 5) {
      Choose choose1 = state.getPlayers().get(0).getChoose();
      serialized += "_" + choose1.name() + "_";
      Choose choose2 = state.getPlayers().get(1).getChoose();
      serialized += choose2.name() + "_";
      Decision decision1 = state.getPlayers().get(0).getDecision();
      serialized += decision1.name() + "_";
      serialized += state.getPlayers().get(0).getResult() +"_";
      Decision decision2 = state.getPlayers().get(1).getDecision();
      serialized += decision2.name() + "_";
View Full Code Here

TOP

Related Classes of com.poker.shared.PlayerMove.Choose

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.