congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IPartitionSettings.getDistributionSettings
Code IndexAdd Tabnine to your IDE (free)

How to use
getDistributionSettings
method
in
jsettlers.common.map.partition.IPartitionSettings

Best Java code snippets using jsettlers.common.map.partition.IPartitionSettings.getDistributionSettings (Showing top 1 results out of 315)

origin: jsettlers/settlers-remake

private IMaterialDistributionSettings currentDistributionSettingsProvider(IGraphicsGrid grid, ShortPoint2D position) {
  if (currentTab != null) {
    if (grid.getPlayerIdAt(position.x, position.y) >= 0) {
      return grid.getPartitionData(position.x, position.y).getPartitionSettings().getDistributionSettings(currentTab.materialButton.getMaterial());
    }
  }
  return null;
}
jsettlers.common.map.partitionIPartitionSettingsgetDistributionSettings

Javadoc

This method gives access to the material distribution settings of the partition.

Popular methods of IPartitionSettings

  • getMaterialTypeForPriority
    This method gives the EMaterialType for the given priority index.
  • getStockSettings

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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