- All Implemented Interfaces:
com.badlogic.ashley.core.Component
, ICopy
public class Magnitude
extends Object
implements com.badlogic.ashley.core.Component, ICopy
-
Field Summary
Fields
float
Absolute magnitude, m = -2.5 log10(flux), with the flux at 10 pc
float
Apparent magnitude, m = -2.5 log10(flux)
-
Constructor Summary
Constructors
-
Method Summary
com.badlogic.ashley.core.Component
getCopy(com.badlogic.ashley.core.Engine engine)
void
void
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
absMag
public float absMag
Absolute magnitude, m = -2.5 log10(flux), with the flux at 10 pc
-
appMag
public float appMag
Apparent magnitude, m = -2.5 log10(flux)
-
Constructor Details
-
Magnitude
public Magnitude()
-
Method Details
-
setAbsMag
public void setAbsMag(Double absMag)
-
setAbsmag
public void setAbsmag(Double absMag)
-
setAppMag
public void setAppMag(Double appMag)
-
setAppmag
public void setAppmag(Double appMag)
-
getCopy
public com.badlogic.ashley.core.Component getCopy(com.badlogic.ashley.core.Engine engine)
- Specified by:
getCopy
in interface ICopy