examples/levelSelect/Launcher

From FANG

Jump to: navigation, search

01 package examples.levelSelect;
02 //start auto-imports
03 //end auto-imports
04 
05 import fang2.attributes.*;
06 import fang2.core.*;
07 import fang2.sprites.*;
08 import fang2.transformers.*;
09 
10 /**
11  * Launches the LevelSelect class that
12  * allows you to select witch level to
13  * go to.
14  @author Alex Park
15  @author modified by Jam when the
16  * FANG Engine was updated
17  !!!!!Under construction - this example is currently being updated!!!!!
18  */
19 public class Launcher extends Game
20 {
21   /**
22    * makes and add the sprite and next game
23    */
24   public void setup()
25   {
26     StringSprite splash=new StringSprite("Splash");
27     splash.setLocation(0.50.5);
28     addSprite(splash);
29     addGame(new LevelSelect());
30     finishGame();
31     setHelp("LevelSelect.txt");
32   }
33 
34   /**
35    * Runs the Launcher as an application.
36    @param args not used
37    */
38   public static void main (String[] args)
39   {
40     new Launcher().runAsApplication();
41   }
42 }
43 
44 //Uploaded on Sat Sep 19 13:58:15 EDT 2009


Download/View examples/levelSelect/Launcher.java





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter

Games
Games