package org.newdawn.spaceinvaders;
/**
* An interface describing any class that wishes to be notified
* as the game window renders.
*
* @author Kevin Glass
*/
public interface GameWindowCallback {
/**
* Notification that game should initialise any resources it
* needs to use. This includes loading sprites.
*/
public void initialise();
/**
* Notification that the display is being rendered. The implementor
* should render the scene and update any game logic
*/
public void frameRendering();
/**
* Notification that game window has been closed.
*/
public void windowClosed();
}
Total 27 Lines of Code.
|
Source code formatted using showsrc by William Denniss
|