org.dartra.midpui
Class PlayDarts

java.lang.Object
  extended byjavax.microedition.midlet.MIDlet
      extended byorg.dartra.midpui.PlayDarts

public class PlayDarts
extends javax.microedition.midlet.MIDlet

MIDlet user interface for DarTra.

This class acts as the main controller of the application.

Author:
Erwin Vervaet

Constructor Summary
PlayDarts()
           
 
Method Summary
protected  void destroyApp(boolean unconditional)
           
 org.dartra.framework.Game getGame()
           
protected  void pauseApp()
           
 void showGame()
           
 void showGameSetup()
           
 void showMessage(java.lang.String title, java.lang.String text)
           
 void showScoreBoard()
           
 void showStats()
           
protected  void startApp()
           
 void startGame(org.dartra.framework.Game game)
           
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayDarts

public PlayDarts()
Method Detail

startApp

protected void startApp()
                 throws javax.microedition.midlet.MIDletStateChangeException
Throws:
javax.microedition.midlet.MIDletStateChangeException

pauseApp

protected void pauseApp()

destroyApp

protected void destroyApp(boolean unconditional)
                   throws javax.microedition.midlet.MIDletStateChangeException
Throws:
javax.microedition.midlet.MIDletStateChangeException

startGame

public void startGame(org.dartra.framework.Game game)

getGame

public org.dartra.framework.Game getGame()

showMessage

public void showMessage(java.lang.String title,
                        java.lang.String text)

showGameSetup

public void showGameSetup()

showGame

public void showGame()

showScoreBoard

public void showScoreBoard()

showStats

public void showStats()