|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHangmanApp
public class HangmanApp
This is the main class for the solitaire Hangman application. It handles processing the command line parameters, instantiating the User Interface and Game Logic classes, and then passes control to the Game Logic class.
Field Summary | |
---|---|
private static Board |
aBoard
reference to the Board instance |
private static HangmanUI |
appUI
reference to the UI instance |
private static Controller |
controller
reference to the Controller instance |
private static Game |
game
reference to the HangmanLogic instance |
Constructor Summary | |
---|---|
HangmanApp()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The entry point for this application. |
private static void |
printUsage()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static HangmanUI appUI
private static Board aBoard
private static Game game
private static Controller controller
Constructor Detail |
---|
public HangmanApp()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
args
- [ui class] [-t]
java.io.IOException
private static void printUsage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |