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

How to use
IDirectGridProvider
in
jsettlers.common.map

Best Java code snippets using jsettlers.common.map.IDirectGridProvider (Showing top 3 results out of 315)

origin: jsettlers/settlers-remake

if(map instanceof IDirectGridProvider) {
  IDirectGridProvider dgp = (IDirectGridProvider) map;
  objectsGrid = dgp.getObjectArray();
  movableGrid = dgp.getMovableArray();
  borderGrid = dgp.getBorderArray();
  isVisibleGridAvailable = true;
} else {
origin: jsettlers/settlers-remake

if(isVisibleGridAvailable) objectDrawer.setVisibleGrid(((IDirectGridProvider)map).getVisibleStatusArray());
origin: jsettlers/settlers-remake

private void updateGeometry(MapDrawContext context, MapRectangle screen) {
  IDirectGridProvider vsp = context.getFow();
  byte[][] visibleStatus = vsp != null ? vsp.getVisibleStatusArray() : null;
jsettlers.common.mapIDirectGridProvider

Most used methods

  • getBorderArray
  • getMovableArray
  • getObjectArray
  • getVisibleStatusArray

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
  • Menu (java.awt)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Table (org.hibernate.mapping)
    A relational table
  • Top Vim 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