|
01 package examples.splash;
02
03 import fang.*;
04
05 /**This class demonstrates how to write
06 * levels which can be transitions between
07 * game segments.
08 * @author Jam Jenkins
09 */
10 public class Splash
11 extends Game
12 {
13 /**creates a sequence of levels
14 * the game will go through and
15 * adds the help screen
16 */
17 public void setup()
18 {
19 addGame(new StartSplash());
20 finishGame();
21 setHelp("resources/SplashHelp.txt");
22 }
23
24 /**runs splash as an application
25 * @param args not used
26 */
27 public static void main(String[] args)
28 {
29 Splash splash=new Splash();
30 splash.runAsApplication();
31 }
32 }
|