|
01 package examples.levelSelect;
02 //start auto-imports
03 //end auto-imports
04
05 import fang.*;
06
07 /**
08 * Launches the LevelSelect class that
09 * allows you to select witch level to
10 * go to.
11 * @author Alex Park
12 * @author modified by Jam when the
13 * FANG Engine was updated
14 * !!!!!Under construction - this example is currently being updated!!!!!
15 */
16 public class Launcher extends Game
17 {
18 /**
19 * @see fang.GameWindow#startGame()
20 */
21 public void setup()
22 {
23 StringSprite splash=new StringSprite("Splash");
24 splash.setLocation(0.5, 0.5);
25 addSprite(splash);
26 addGame(new LevelSelect());
27 finishGame();
28 setHelp("LevelSelect.txt");
29 }
30
31 /**
32 * Runs the Launcher as an application.
33 * @param args not used
34 */
35 public static void main (String[] args)
36 {
37 new Launcher().runAsApplication();
38 }
39 }
|