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 Detail

      • TerrainPoint

        public TerrainPoint()
      • TerrainPoint

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

      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Entity