jmetest.effects.transients
Class TestFadeInOutTransientEffect
java.lang.Object
com.jme.app.AbstractGame
com.jme.app.VariableTimestepGame
jmetest.effects.transients.TestFadeInOutTransientEffect
- public class TestFadeInOutTransientEffect
- extends VariableTimestepGame
- Author:
- Ahmed
|
Method Summary |
protected void |
cleanup()
cleanup cleans up any created objects before exiting the
application. |
protected void |
initGame()
initGame creates and initializes all game data required
for startup. |
protected void |
initSystem()
initSystem creates all the necessary system components
for the client application. |
static void |
main(java.lang.String[] args)
|
protected void |
reinit()
reinit rebuilds the subsystems. |
protected void |
render(float interpolation)
render displays the game information to the OpenGL context. |
protected void |
update(float deltaT)
update updates the game state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestFadeInOutTransientEffect
public TestFadeInOutTransientEffect()
update
protected void update(float deltaT)
- Description copied from class:
AbstractGame
update updates the game state. Physics, AI, networking, score
checking and like should be completed in this method. How often and when
this method is called depends on the main loop implementation.
- Specified by:
update in class VariableTimestepGame
- Parameters:
deltaT - the time elapsed since the last frame, in seconds- See Also:
AbstractGame.update(float interpolation)
render
protected void render(float interpolation)
- Description copied from class:
AbstractGame
render displays the game information to the OpenGL context.
Nothing altering the game state should be run during a render. How often
and when this method is called depends on the main loop implementation.
- Specified by:
render in class VariableTimestepGame
- Parameters:
interpolation - unused in this implementation- See Also:
AbstractGame.render(float interpolation)
initSystem
protected void initSystem()
- Description copied from class:
AbstractGame
initSystem creates all the necessary system components
for the client application. It is is called once after start
is called. The display must be initialized within this method.
- Specified by:
initSystem in class VariableTimestepGame
- See Also:
AbstractGame.initSystem()
initGame
protected void initGame()
- Description copied from class:
AbstractGame
initGame creates and initializes all game data required
for startup. It is suggested that caching of frequently used resources
is done within this method. It is called once after initSystem
has completed.
- Specified by:
initGame in class VariableTimestepGame
- See Also:
AbstractGame.initGame()
reinit
protected void reinit()
- Description copied from class:
AbstractGame
reinit rebuilds the subsystems. It may be called at any time
by the client application.
- Specified by:
reinit in class VariableTimestepGame
- See Also:
AbstractGame.reinit()
cleanup
protected void cleanup()
- Description copied from class:
AbstractGame
cleanup cleans up any created objects before exiting the
application. It is called once after finish is called.
- Specified by:
cleanup in class VariableTimestepGame
- See Also:
AbstractGame.cleanup()
main
public static void main(java.lang.String[] args)