public void pull(CasinoChain wrapper) { System.out.println("PlayerAction"); wrapper.set_state(new DealerAction()); wrapper.pull(); }
public void pull(CasinoChain wrapper) { System.out.println("Surrender"); wrapper.set_state(new PlayerAction()); wrapper.pull(); }
public void pull(CasinoChain wrapper) { System.out.println("Insurance"); wrapper.set_state(new Surrender()); wrapper.pull(); }
public void pull(CasinoChain wrapper) { System.out.println("Deal"); wrapper.set_state(new Insurance()); wrapper.pull(); }
public void pull(CasinoChain wrapper) { System.out.println("Bet"); wrapper.set_state(new Deal()); wrapper.pull(); }
public void pull(CasinoChain wrapper) { System.out.println("Result"); wrapper.set_state(new End()); wrapper.pull(); }