Package gaiasky.scene.component
Class Ruler
java.lang.Object
gaiasky.scene.component.Ruler
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
-
Field Details
-
pos0
public final double[] pos0 -
pos1
public final double[] pos1 -
p0
-
p1
-
m
-
name0
-
name1
-
rulerOk
public boolean rulerOk -
dist
-
-
Constructor Details
-
Ruler
public Ruler()
-
-
Method Details
-
getName0
-
setName0
-
getName1
-
setName1
-
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()
-