Class TerrainPoint


@Node public class TerrainPoint extends Embedded
A terrain point. Does not extend Point to make sure it doesn't get in the way of range/visibility processing.
Author:
joe
  • Constructor Details

    • TerrainPoint

      public TerrainPoint(Terrain t, Long index, Point point)
    • TerrainPoint

      public TerrainPoint()
    • TerrainPoint

      public TerrainPoint(Terrain terrain, Long index, double x, double y, double z)
  • Method Details

    • getTerrain

      public Terrain getTerrain()
    • getIndex

      public Long getIndex()
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • setTerrain

      public void setTerrain(Terrain terrain)
    • setIndex

      public void setIndex(Long index)
    • setX

      public void setX(double x)
    • setY

      public void setY(double y)
    • setZ

      public void setZ(double z)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Entity
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Entity
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Entity