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

How to use
getPlayerIdAt
method
in
jsettlers.common.map.IGraphicsGrid

Best Java code snippets using jsettlers.common.map.IGraphicsGrid.getPlayerIdAt (Showing top 3 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;
}
origin: jsettlers/settlers-remake

byte player = map.getPlayerIdAt(x, y);
objectDrawer.drawPlayerBorderObject(x, y, player);
origin: jsettlers/settlers-remake

  byte player = map.getPlayerIdAt(x, y);
  Color playerColor = context.getPlayerColor(player);
  occupiedColor = playerColor.toShortColor(1);
byte player = map.getPlayerIdAt(x, y);
if (player >= 0 && !map.getLandscapeTypeAt(x, y).isBlocking) {
  Color playerColor = context.getPlayerColor(player);
jsettlers.common.mapIGraphicsGridgetPlayerIdAt

Popular methods of IGraphicsGrid

  • getDebugColorAt
  • getHeight
  • getHeightAt
  • getLandscapeTypeAt
  • getMapObjectsAt
    Gets the first map object that is placed on the given position. There may be more map objects that c
  • getMovableAt
  • getPartitionData
    Gets the current data and settings of the partition at the given position.
  • getVisibleStatus
  • getWidth
  • isBorder
  • isBuilding
    Returns true if the given position is covered by the blocked area of a building.
  • setBackgroundListener
    This method can be used to set a IGraphicsBackgroundListener to this IGraphicsGrid.
  • isBuilding,
  • setBackgroundListener

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JComboBox (javax.swing)
  • JTextField (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top PhpStorm plugins
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