|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectGame
public class Game
| Field Summary | |
|---|---|
MutableBinaryTree |
currentQ
Mutable Binary Trees that keep track of the current and previous pointers |
MutableBinaryTree |
previousQ
Mutable Binary Trees that keep track of the current and previous pointers |
| Constructor Summary | |
|---|---|
Game()
a constructor that allows the main method to reach other methods without making them static |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
main method that starts the game according to user input and interacts with TreeMaker to get the binary tree and write it back once the game is over. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MutableBinaryTree currentQ
public MutableBinaryTree previousQ
| Constructor Detail |
|---|
public Game()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - The name of the file provided by the user. it is optional.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||