Class Ruler

java.lang.Object
gaiasky.scene.component.Ruler
All Implemented Interfaces:
com.badlogic.ashley.core.Component

public class Ruler extends Object implements com.badlogic.ashley.core.Component
  • Field Details

    • pos0

      public final double[] pos0
    • pos1

      public final double[] pos1
    • p0

      public final Vector3d p0
    • p1

      public final Vector3d p1
    • m

      public final Vector3d m
    • name0

      public String name0
    • name1

      public String name1
    • rulerOk

      public boolean rulerOk
    • dist

      public String dist
  • Constructor Details

    • Ruler

      public Ruler()
  • Method Details

    • getName0

      public String getName0()
    • setName0

      public void setName0(String name0)
    • getName1

      public String getName1()
    • setName1

      public void setName1(String name1)
    • rulerOk

      public boolean rulerOk()
    • hasAttached

      public boolean hasAttached()
      Returns true if the ruler is attached to at least one object.
      Returns:
      True if the ruler is attached.
    • hasObject0

      public boolean hasObject0()
    • hasObject1

      public boolean hasObject1()