|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.bluebones.boggle.GameInfo
public class GameInfo
Data holder class that holds the information necessary to join or host a game.
| Constructor Summary | |
|---|---|
GameInfo(String name,
HostInfo hostInfo)
Initialises new GameInfo with the specified values. |
|
| Method Summary | |
|---|---|
HostInfo |
hostInfo()
HostInfo of this game. |
static void |
main(String[] args)
Simple commandline test of GameInfo. |
String |
name()
Name of the player. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GameInfo(String name,
HostInfo hostInfo)
name - Name of the player.hostInfo - HostInfo of the host of the game.| Method Detail |
|---|
public String name()
public HostInfo hostInfo()
public static void main(String[] args)
args - Commandline arguments.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||