|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SOCScenario | |
---|---|
soc.client | |
soc.game | |
soc.message | |
soc.server |
Uses of SOCScenario in soc.client |
---|
Fields in soc.client with type parameters of type SOCScenario | |
---|---|
private java.util.Map<java.lang.String,SOCScenario> |
NewGameOptionsFrame.allSc
Scenario info for NewGameOptionsFrame.scenDropdown , if NewGameOptionsFrame.opts contains the "SC" game option, or null. |
Methods in soc.client with parameters of type SOCScenario | |
---|---|
static void |
NewGameOptionsFrame.showScenarioInfoDialog(SOCScenario sc,
java.util.Map<java.lang.String,SOCGameOption> gameOpts,
int vpWinner,
SOCPlayerClient.GameAwtDisplay cli,
java.awt.Frame parent)
Show a popup window with this scenario's description, special rules, and number of victory points to win. |
Uses of SOCScenario in soc.game |
---|
Fields in soc.game with type parameters of type SOCScenario | |
---|---|
private static java.util.Map<java.lang.String,SOCScenario> |
SOCScenario.allScenarios
Set of "known scenarios". |
Methods in soc.game that return SOCScenario | |
---|---|
static SOCScenario |
SOCScenario.getScenario(java.lang.String key)
Get the scenario information about this known scenario. |
Methods in soc.game that return types with arguments of type SOCScenario | |
---|---|
static java.util.Map<java.lang.String,SOCScenario> |
SOCScenario.cloneScenarios(java.util.Map<java.lang.String,SOCScenario> scens)
Clone this scenario map and its contents. |
static java.util.Map<java.lang.String,SOCScenario> |
SOCScenario.getAllKnownScenarios()
Get all known scenario objects, mapping from their key names (such as SC_4ISL ). |
private static java.util.Map<java.lang.String,SOCScenario> |
SOCScenario.initAllScenarios()
Create a set of the known scenarios. |
static java.util.Map<java.lang.String,SOCScenario> |
SOCScenario.parseScenariosToMap(java.lang.String scstr)
Utility - build a map by parsing a list of scenario names. |
Methods in soc.game with parameters of type SOCScenario | |
---|---|
static boolean |
SOCScenario.addKnownScenario(SOCScenario scNew)
Add a new known scenario (received from a server having a newer or older version), or update the scenario's information. |
Method parameters in soc.game with type arguments of type SOCScenario | |
---|---|
static void |
SOCScenario.addScenario(java.util.Map<java.lang.String,SOCScenario> newScens,
java.lang.String scKey)
If a set of scenarios doesn't already include this known scenario, clone and add it. |
static java.lang.StringBuilder |
SOCScenario.adjustScenariosToKnown(java.util.Map<java.lang.String,SOCScenario> newScens,
java.util.Map<java.lang.String,SOCScenario> knownScenarios,
boolean doServerPreadjust)
Compare a set of scenarios with known-good values. |
static java.lang.StringBuilder |
SOCScenario.adjustScenariosToKnown(java.util.Map<java.lang.String,SOCScenario> newScens,
java.util.Map<java.lang.String,SOCScenario> knownScenarios,
boolean doServerPreadjust)
Compare a set of scenarios with known-good values. |
static java.util.Map<java.lang.String,SOCScenario> |
SOCScenario.cloneScenarios(java.util.Map<java.lang.String,SOCScenario> scens)
Clone this scenario map and its contents. |
static java.lang.String |
SOCScenario.packScenariosToString(java.util.Map<java.lang.String,SOCScenario> scMap)
Utility - build a string of known scenario names. |
static java.lang.String |
SOCScenario.packScenariosToString(java.util.Map<java.lang.String,SOCScenario> scMap,
int cliVers)
Utility - build a string of known scenario names, adjusting for old clients if necessary. |
Uses of SOCScenario in soc.message |
---|
Fields in soc.message declared as SOCScenario | |
---|---|
private SOCScenario |
SOCScenarioInfo.sc
Parsed scenario from server ( SOCScenarioInfo.getScenario() ),
or null if SOCScenarioInfo.isKeyUnknown or SOCScenarioInfo.noMoreScens
or if this message is from client to server. |
Methods in soc.message that return SOCScenario | |
---|---|
SOCScenario |
SOCScenarioInfo.getScenario()
The scenario info, if any. |
Constructors in soc.message with parameters of type SOCScenario | |
---|---|
SOCScenarioInfo(SOCScenario sc,
java.lang.String localDesc,
java.lang.String localLongDesc)
Constructor for server to tell client about a scenario, or mark the end of the list of scenarios. |
Uses of SOCScenario in soc.server |
---|
Methods in soc.server with parameters of type SOCScenario | |
---|---|
(package private) void |
SOCServer.sendGameScenarioInfo(java.lang.String scKey,
SOCScenario sc,
StringConnection c,
boolean stringsOnly)
If needed, send this scenario's updated info and i18n localized short/long description strings to the client. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |