nu.dll.pong
Class Pong

java.lang.Object
  |
  +--nu.dll.pong.Pong

public class Pong
extends java.lang.Object

Main class to start the game as a stand-alone application.

See Also:
start method, the game AWT component, applet container

Constructor Summary
Pong()
           
 
Method Summary
static void main(java.lang.String[] argv)
          Used to start the game as a stand-alone application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pong

public Pong()
Method Detail

main

public static void main(java.lang.String[] argv)
Used to start the game as a stand-alone application. Implementation note: will alter the system property sun.awt.exception.handler to allow my own code to handle exceptions occured within the event dispatch thread.

This method reads a few argument and initializes the game accordingly (for example, you can disable the sound and use a custom level file).