Class TileImage

java.lang.Object
net.pl3x.map.core.Keyed
net.pl3x.map.core.image.TileImage

public class TileImage extends Keyed
  • Field Details

  • Constructor Details

    • TileImage

      public TileImage(@NotNull @NotNull String key, @NotNull @NotNull World world, @NotNull @NotNull Point region)
  • Method Details

    • getIndex

      public int getIndex(int x, int z)
    • getPixel

      public int getPixel(int x, int z)
    • setPixel

      public void setPixel(int x, int z, int color)
    • saveToDisk

      public void saveToDisk()
    • equals

      public boolean equals(@Nullable @Nullable Object o)
      Overrides:
      equals in class Keyed
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Keyed
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Keyed