Class WorldMapCell

java.lang.Object
zombie.worldMap.WorldMapCell

public final class WorldMapCell extends Object
  • Field Details

    • x

      public int x
    • y

      public int y
    • features

      public final ArrayList<WorldMapFeature> features
    • priority

      public int priority
    • clipHigherPriorityCells

      public int[] clipHigherPriorityCells
    • pointBuffer

      public ShortBuffer pointBuffer
    • indexBuffer

      public ShortBuffer indexBuffer
    • triangleBuffer

      public FloatBuffer triangleBuffer
  • Constructor Details

    • WorldMapCell

      public WorldMapCell()
  • Method Details

    • hitTest

      public void hitTest(float x, float y, ArrayList<WorldMapFeature> features)
    • getPointBuffer

      public ShortBuffer getPointBuffer(int addPoints)
    • getIndexBuffer

      public ShortBuffer getIndexBuffer(int count)
    • getTriangleBuffer

      public FloatBuffer getTriangleBuffer(int count)
    • clearTriangles

      public void clearTriangles()
    • dispose

      public void dispose()