|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.limdul.cassiopeia.metaserver.client.MetaGameInfo
public class MetaGameInfo
Speichert Infos über die geöffneten Spiele auf dem Metaserver.
| Constructor Summary | |
|---|---|
MetaGameInfo(String gameName,
String gameMultiplexID,
boolean hasPassword)
Erzeugt die MetaGameInfo. |
|
| Method Summary | |
|---|---|
int |
getCardCount()
Liefert die Anzahl Karten dieses Spiels. |
String |
getGameMultiplexID()
Liefert die MultiplexID des Spiels zurück. |
String |
getGameName()
Liefert den Namen des Spiels. |
GameOptions |
getOptions()
Liefert die Spieloptionen zurück. |
int |
getPlayerCount()
Liefert die Anzahl der Spieler. |
boolean |
hasPassword()
Liefert zurück, ob das Spiel passwortgeschützt ist. |
void |
setCardCount(int count)
Setzt die Anzahl Karten dieses Spiels. |
void |
setPlayerCount(int playerCount)
Setzt die Anzahl der Spieler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaGameInfo(String gameName,
String gameMultiplexID,
boolean hasPassword)
gameName - Der Name des Spiels.gameMultiplexID - Die MultiplexID des Spiels.hasPassword - Ob das Spiel passwortgeschützt ist.| Method Detail |
|---|
public String getGameName()
public String getGameMultiplexID()
public boolean hasPassword()
true, wenn es passwortgeschützt ist, false wenn nicht.public GameOptions getOptions()
public int getCardCount()
public void setCardCount(int count)
count - Die Anzahl Karten dieses Spiels.public int getPlayerCount()
public void setPlayerCount(int playerCount)
playerCount - Die Anzahl der Spieler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||