|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectParser
public class Parser
| Constructor Summary | |
|---|---|
Parser()
|
|
| Method Summary | |
|---|---|
static void |
displayResult(int retStatus)
Displays the result of a shot fired. |
static java.awt.Point |
getLocation()
Gets a location from the user and returns it to the client. |
static boolean |
placeOwnShips()
Asks the user if he wants to place own ships. |
static ShipList |
setupBoard()
This method sets up the board. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Parser()
| Method Detail |
|---|
public static ShipList setupBoard()
public static java.awt.Point getLocation()
public static boolean placeOwnShips()
public static void displayResult(int retStatus)
retStatus - the status of the shot fired.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||