Package mage.view

Examples of mage.view.DraftPickView


    private DraftView getDraftView() {
        return new DraftView(draft);
    }

    private DraftPickView getDraftPickView(int timeout) {
        return new DraftPickView(draft.getPlayer(playerId), timeout);
    }
View Full Code Here


            new Listener<Event> () {
                @Override
                public void event(Event event) {
                    if (event.getEventName().equals("pick-a-card")) {
                        SimpleCardView source = (SimpleCardView) event.getSource();
                        DraftPickView view = session.sendCardPick(draftId, source.getId());
                        if (view != null) {
                            draftBooster.loadBooster(emptyView, bigCard);
                            draftPicks.loadCards(CardsViewUtil.convertSimple(view.getPicks()), bigCard, null);
                            Plugins.getInstance().getActionCallback().hidePopup();
                            setMessage("Waiting for other players");
                        }
                    }
                    if (event.getEventName().equals("mark-a-card")) {
View Full Code Here

TOP

Related Classes of mage.view.DraftPickView

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.