Tabnine Logo
LimitedOptions.getConstructionTime
Code IndexAdd Tabnine to your IDE (free)

How to use
getConstructionTime
method
in
mage.game.tournament.LimitedOptions

Best Java code snippets using mage.game.tournament.LimitedOptions.getConstructionTime (Showing top 4 results out of 315)

origin: magefree/mage

@Override
public void fireConstructEvent(UUID playerId) {
  playerQueryEventSource.construct(playerId, "Construct", getOptions().getLimitedOptions().getConstructionTime());
}
origin: magefree/mage

public TournamentView(Tournament tournament) {
  tournamentName = tournament.getOptions().getName();
  StringBuilder typeText = new StringBuilder(tournament.getOptions().getTournamentType());
  if (!tournament.getTournamentType().isLimited()) {
    typeText.append(" / ").append(tournament.getOptions().getMatchOptions().getDeckType());
  }
  if (tournament.getNumberRounds() > 0) {
    typeText.append(' ').append(tournament.getNumberRounds()).append(" rounds");
  } 
  tournamentType = typeText.toString();
  startTime = tournament.getStartTime();
  endTime = tournament.getEndTime();
  stepStartTime = tournament.getStepStartTime();
  constructionTime = tournament.getOptions().getLimitedOptions().getConstructionTime();
  watchingAllowed = tournament.getOptions().isWatchingAllowed();
  serverTime = new Date();
  tournamentState = tournament.getTournamentState();
  if (tournament.getTournamentState().equals("Drafting") && tournament.getDraft() != null) {
    runningInfo = "booster/card: " + tournament.getDraft().getBoosterNum() + '/' + (tournament.getDraft().getCardNum() -1);
  } else {
    runningInfo = "";
  }
  for (TournamentPlayer player: tournament.getPlayers()) {
    players.add(new TournamentPlayerView(player));
  }
  Collections.sort(players);
  for (Round round: tournament.getRounds()) {
    rounds.add(new RoundView(round));
  }
}
origin: magefree/mage

PreferencesDialog.saveValue(PreferencesDialog.KEY_NEW_TOURNAMENT_TIME_LIMIT + versionStr, Integer.toString(tOptions.getMatchOptions().getPriorityTime()));
if (this.spnConstructTime.isVisible()) {
  PreferencesDialog.saveValue(PreferencesDialog.KEY_NEW_TOURNAMENT_CONSTR_TIME + versionStr, Integer.toString(tOptions.getLimitedOptions().getConstructionTime()));
origin: magefree/mage

infoText.append(" Constr.: ").append(table.getTournament().getOptions().getLimitedOptions().getConstructionTime() / 60).append(" Min.");
mage.game.tournamentLimitedOptionsgetConstructionTime

Popular methods of LimitedOptions

  • getSetCodes
  • setDraftCube
  • setNumberBoosters
  • <init>
  • getCubeFromDeck
  • getDraftCube
  • getDraftCubeName
  • getIsRandom
  • getNumberBoosters
  • setConstructionTime
  • setCubeFromDeck
  • setDraftCubeName
  • setCubeFromDeck,
  • setDraftCubeName,
  • setIsRandom

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now