scg/ch08/HelloWorld

From FANG

Jump to: navigation, search

01 package scg.ch08;
02 
03 import fang2.core.Game;
04 
05 /**
06  * This "game" has no sprites. In setup it just prints "Hello, World!"
07  * to the standard output console. This is a demonstration of how
08  System.out can be used.
09  */
10 public class HelloWorld
11   extends Game {
12   /**
13    * Print out one line. That is all the setup required
14    */
15   @Override
16   public void setup() {
17     System.out.println("Hello, World!");
18   }
19 }
20 
21 //Uploaded on Mon Mar 29 21:38:43 EDT 2010


Download/View scg/ch08/HelloWorld.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