Examples of BazaarSelectBuyOrSellEvent


Examples of com.jcloisterzone.event.BazaarSelectBuyOrSellEvent

            //game.fireGameEvent().playerActivated(game.getTurnPlayer(), getActivePlayer());

            if (bidding == null) {
                game.post(new BazaarSelectTileEvent(getActivePlayer(), bazaarCap.getBazaarSupply()));
            } else if (selecting == bidding) {
                game.post(new BazaarSelectBuyOrSellEvent(bidding, currentItem, supplyIdx));
            } else {
                game.post(new BazaarMakeBidEvent(bidding, currentItem, supplyIdx));
            }
        }
    }
View Full Code Here

Examples of com.jcloisterzone.event.BazaarSelectBuyOrSellEvent

                if (bazaarCap.getBazaarTileSelectingPlayer() == bi.getCurrentBidder()) {
                    bazaarBuyOrSell(true);
                } else {
                    bazaarCap.setBazaarBiddingPlayer(bazaarCap.getBazaarTileSelectingPlayer()); //need for correct save&load
                    //game.fireGameEvent().playerActivated(game.getTurnPlayer(), getActivePlayer());
                    game.post(new BazaarSelectBuyOrSellEvent(getActivePlayer(), currentItem, supplyIdx));
                }
                return;
            }
        } while (!canPlayerBid(nextBidder));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.