org.stellarium.ui.fader
Class BooleanFader
java.lang.Object
org.stellarium.ui.fader.Fader
org.stellarium.ui.fader.BooleanFader
-
class BooleanFader
- extends Fader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanFader
public BooleanFader(boolean _state)
BooleanFader
public BooleanFader(boolean _state,
float _min_value,
float _max_value)
update
public void update(int delta_ticks)
- Description copied from class:
Fader
- Increments the internal counter of delta_time ticks
-
- Specified by:
update
in class Fader
-
getInterstate
public float getInterstate()
- Description copied from class:
Fader
- Gets current switch state
-
- Specified by:
getInterstate
in
class Fader
-
getInterstatePercentage
public float getInterstatePercentage()
-
- Specified by:
getInterstatePercentage
in class Fader
-
set
public Fader set(boolean s)
- Description copied from class:
Fader
- Switchors can be used just as bools
-
- Specified by:
set
in class Fader
-