|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.limdul.cassiopeia.data.game.OptionSet
public class OptionSet
Implementiert ein Optionset. Dies ist eine Liste von verschiedenen Optionen.
| Field Summary | |
|---|---|
static int |
DISABLED
Konstante, die angibt, dass dieses Optionset komplett deaktiviert ist. |
static int |
ENABLED
Konstante, die angibt, dass dieses Optionset komplett aktiviert ist. |
static int |
PARTIAL_ENABLED
Konstante, die angibt, dass dieses Optionset teilweise aktiviert ist. |
| Constructor Summary | |
|---|---|
OptionSet(String name)
Erzeugt ein Optionset mit dem angegebenen Namen. |
|
| Method Summary | |
|---|---|
void |
addCardSet(String set)
Fügt das Kartenset einmal hinzu. |
void |
addCardSet(String set,
int count)
Fügt das Kartenset mit der angegeben Anzahl hinzu. |
void |
addOptionSetEntry(OptionSetEntry entry)
Fügt einen Eintrag hinzu. |
void |
enableSet(GameOptions options)
Aktiviert das OptionSet. |
boolean |
equals(Object obj)
|
OptionSetEntryList |
getEntrys()
Liefert die Liste der Einträge zurück. |
String |
getLocalizedName()
Liefert den Lokalisierten Namen. |
String |
getName()
Liefert den Namen des Optionsets. |
StringList |
getSets()
Liefert die Liste der Kartensets als StringList. |
int |
getStatus(GameOptions options)
Liefert zurück, ob das Set aktiviert oder deaktivert ist. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DISABLED
public static final int PARTIAL_ENABLED
public static final int ENABLED
| Constructor Detail |
|---|
public OptionSet(String name)
name - Der Name des Optionsets.| Method Detail |
|---|
public void addOptionSetEntry(OptionSetEntry entry)
entry - Der Eintrag.public void addCardSet(String set)
set - Der Name des Kartensets.
public void addCardSet(String set,
int count)
set - Der Name des Kartensets.count - Die Anzahl.public String getName()
public String getLocalizedName()
public void enableSet(GameOptions options)
options - Die Spieloptionen.public int getStatus(GameOptions options)
options - Die Spieloptionen.
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public OptionSetEntryList getEntrys()
public StringList getSets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||