OSDN Git Service

Set optimal mime types and executable settings.
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / game / state / load / NullLoader.java
1 package com.jmex.game.state.load;
2
3 /**
4  * Useful for scenarios where you may want to conditionally display a Loader but don't want to
5  * add all the checks in your code. This loader does nothing.
6  * 
7  * @author Matthew D. Hicks
8  */
9 public class NullLoader implements Loader {
10         public float increment() {
11                 return 0;
12         }
13
14         public float increment(int steps) {
15                 return 0;
16         }
17
18         public float increment(String activity) {
19                 return 0;
20         }
21
22         public float increment(int steps, String activity) {
23                 return 0;
24         }
25
26         public void setProgress(float progress) {
27         }
28
29         public void setProgress(float progress, String activity) {
30         }
31 }