|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.adventure.actions.AbstractAction
de.rico.adventure.actions.custom.ShowScreen
@Deprecated public class ShowScreen
This game action can be used to show a full screen image for the specified amount of time.
Constructor Summary | |
---|---|
ShowScreen(java.lang.String imgFile,
int duration)
Deprecated. Creates the game action with the specified file path to the image file that ought to be displayed on the full game screen. |
|
ShowScreen(java.lang.String imgFile,
java.lang.String mp3File,
int duration)
Deprecated. Creates the game action with the specified file path to the image file that ought to be displayed on the full game screen. |
Method Summary | |
---|---|
void |
draw(javax.media.opengl.GL gl)
Deprecated. This method renders the game action, if needed. |
void |
finishUp()
Deprecated. Implementations of this method hold code that needs to be called before the game action can be removed from the queue (prematurely) without causing side effects. |
void |
update(long elapsedTime)
Deprecated. This method updates the game action |
Methods inherited from class de.rico.adventure.actions.AbstractAction |
---|
getEntity |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShowScreen(java.lang.String imgFile, int duration)
imgFile
- path to image fileduration
- duration of time to display the imagepublic ShowScreen(java.lang.String imgFile, java.lang.String mp3File, int duration)
imgFile
- path to image filemp3File
- path to mp3 sound fileduration
- duration of time to display the imageMethod Detail |
---|
public void update(long elapsedTime)
AbstractAction
update
in class AbstractAction
elapsedTime
- time between two framespublic void draw(javax.media.opengl.GL gl)
AbstractAction
draw
in class AbstractAction
public void finishUp()
AbstractAction
finishUp
in class AbstractAction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |