com.jmex.game.state.load
Class NullLoader
java.lang.Object
com.jmex.game.state.load.NullLoader
- All Implemented Interfaces:
- Loader
public class NullLoader
- extends java.lang.Object
- implements Loader
Useful for scenarios where you may want to conditionally display a Loader but don't want to
add all the checks in your code. This loader does nothing.
- Author:
- Matthew D. Hicks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullLoader
public NullLoader()
increment
public float increment()
- Specified by:
increment
in interface Loader
increment
public float increment(int steps)
- Specified by:
increment
in interface Loader
increment
public float increment(java.lang.String activity)
- Specified by:
increment
in interface Loader
increment
public float increment(int steps,
java.lang.String activity)
- Specified by:
increment
in interface Loader
setProgress
public void setProgress(float progress)
- Specified by:
setProgress
in interface Loader
setProgress
public void setProgress(float progress,
java.lang.String activity)
- Specified by:
setProgress
in interface Loader