|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectGame
public class Game
The class which initiates the game.
| Field Summary | |
|---|---|
static int |
BOARD_X_COORDINATE
|
static int |
BOARD_Y_COORDINATE
|
static int |
DEFAULT_NUMBER_OF_SHIPS
|
static java.util.Random |
rand
|
| Constructor Summary | |
|---|---|
Game()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
The main program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_NUMBER_OF_SHIPS
public static final int BOARD_X_COORDINATE
public static final int BOARD_Y_COORDINATE
public static java.util.Random rand
| Constructor Detail |
|---|
public Game()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - the command line inputs.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||