Example #1
0
 public void pull(CasinoChain wrapper) {
   System.out.println("PlayerAction");
   wrapper.set_state(new DealerAction());
   wrapper.pull();
 }
Example #2
0
 public void pull(CasinoChain wrapper) {
   System.out.println("Surrender");
   wrapper.set_state(new PlayerAction());
   wrapper.pull();
 }
Example #3
0
 public void pull(CasinoChain wrapper) {
   System.out.println("Insurance");
   wrapper.set_state(new Surrender());
   wrapper.pull();
 }
Example #4
0
 public void pull(CasinoChain wrapper) {
   System.out.println("Deal");
   wrapper.set_state(new Insurance());
   wrapper.pull();
 }
Example #5
0
 public void pull(CasinoChain wrapper) {
   System.out.println("Bet");
   wrapper.set_state(new Deal());
   wrapper.pull();
 }
Example #6
0
 public void pull(CasinoChain wrapper) {
   System.out.println("Result");
   wrapper.set_state(new End());
   wrapper.pull();
 }