|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoadingScreenUpdater
This interface is implemented by LoadingScreen. It makes LoadingScreen independent of the actual implementation. So just use this interface as parameter type in your game's loading methods.
LoadingScreen| Method Summary | |
|---|---|
void |
init(int maxValue,
java.lang.String caption,
java.lang.String backgroundTexture)
Initializes the progress, caption and background image. |
void |
init(int maxValue,
java.lang.String caption,
Texture backgroundTexture)
Initializes the progress, caption and background image. |
void |
update()
Updates the progress value incremented by one and leaves the caption unchanged. |
void |
update(int value)
Updates the progress value and leaves the caption unchanged. |
void |
update(int value,
java.lang.String caption)
Updates the progress value and caption. |
void |
update(int value,
java.lang.String caption,
java.lang.String backgroundTexture)
Updates the progress value, caption and background image. |
void |
update(int value,
java.lang.String caption,
Texture backgroundTexture)
Updates the progress value, caption and background image. |
void |
update(int value,
Texture backgroundTexture)
Updates the progress value and background image. |
void |
update(java.lang.String caption)
Updates the progress value incremented by one and sets the new caption. |
void |
update(Texture backgroundTexture)
Increases the progress value by one and updates the background image. |
void |
updateOnly(java.lang.String caption)
Updates the caption only. |
void |
updateOnly(Texture backgroundTexture)
Updates the background image only. |
| Method Detail |
|---|
void init(int maxValue,
java.lang.String caption,
Texture backgroundTexture)
maxValue - the new maximum progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
void init(int maxValue,
java.lang.String caption,
java.lang.String backgroundTexture)
maxValue - the new maximum progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
void update(int value,
java.lang.String caption,
Texture backgroundTexture)
value - the new progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
void update(int value,
Texture backgroundTexture)
value - the new progress valuebackgroundTexture - the new background Texture (or null to keep the old one)void update(Texture backgroundTexture)
backgroundTexture - the new background Texture (or null to keep the old one)void updateOnly(Texture backgroundTexture)
backgroundTexture - the new background Texture (or null to keep the old one)
void update(int value,
java.lang.String caption,
java.lang.String backgroundTexture)
value - the new progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
void update(int value,
java.lang.String caption)
value - the new progress valuecaption - the new caption (or null to keep the old one)void update(int value)
value - the new progress valuevoid updateOnly(java.lang.String caption)
caption - the new caption (or null to keep the old one)void update(java.lang.String caption)
caption - the new caption (or null to keep the old one)void update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||