java.lang.Object
com.hypixel.hytale.server.worldgen.climate.util.IntMap

public class IntMap extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
    private final int[]
     
    final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    IntMap(int width, int height)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    at(int index)
     
    int
    at(int x, int y)
     
    void
     
    int
    index(int x, int y)
     
    void
    set(int index, int value)
     
    void
    set(int x, int y, int value)
     
    boolean
    validate(int index)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • width

      public final int width
    • height

      public final int height
    • values

      private final int[] values
  • Constructor Details

    • IntMap

      public IntMap(int width, int height)
  • Method Details

    • index

      public int index(int x, int y)
    • validate

      public boolean validate(int index)
    • clear

      public void clear()
    • at

      public int at(int x, int y)
    • at

      public int at(int index)
    • set

      public void set(int x, int y, int value)
    • set

      public void set(int index, int value)