Package mage.client.dialog

Examples of mage.client.dialog.ShowCardsDialog.loadCards()


    this.abilityPicker.show(choices, MageFrame.getDesktop().getMousePosition());
  }

  public void revealCards(String name, CardsView cards) {
    ShowCardsDialog showCards = new ShowCardsDialog();
    showCards.loadCards(name, cards, bigCard, Config.dimensions, gameId, false);
  }

  private void showCards(String title, CardsView cards, boolean required) {
    ShowCardsDialog showCards = new ShowCardsDialog();
    showCards.loadCards(title, cards, bigCard, Config.dimensions, gameId, required);
View Full Code Here


    showCards.loadCards(name, cards, bigCard, Config.dimensions, gameId, false);
  }

  private void showCards(String title, CardsView cards, boolean required) {
    ShowCardsDialog showCards = new ShowCardsDialog();
    showCards.loadCards(title, cards, bigCard, Config.dimensions, gameId, required);
  }

  public void getAmount(int min, int max, String message) {
    MageFrame.getPickNumberDialog().showDialog(min, max, message);
    if (MageFrame.getPickNumberDialog().isCancel())
View Full Code Here

    }

    private ShowCardsDialog showCards(String title, CardsView cards, boolean required, Map<String, Serializable> options) {
        hideAll();
        ShowCardsDialog showCards = new ShowCardsDialog();
        showCards.loadCards(title, cards, bigCard, Config.dimensionsEnlarged, gameId, required, options);
        return showCards;
    }

    public void getAmount(int min, int max, String message) {
        pickNumber.showDialog(min, max, message);
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.