Package mage.server.draft

Examples of mage.server.draft.DraftController


                            if (tPlayer.getState().equals(TournamentPlayerState.DRAFTING)) {
                                info = "during Draft phase";
                                if (!checkToReplaceDraftPlayerByAi(userId, tPlayer)) {
                                    this.abortDraftTournament();
                                } else {
                                    DraftController draftController = DraftManager.getInstance().getController(tableId);
                                    if (draftController != null) {
                                        DraftSession draftSession = draftController.getDraftSession(playerId);
                                        if (draftSession != null) {
                                            DraftManager.getInstance().kill(draftSession.getDraftId(), userId);
                                        }
                                    }
                                }
View Full Code Here

TOP

Related Classes of mage.server.draft.DraftController

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.