us.asciiroth.client.json
Class ScenarioJSON
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
us.asciiroth.client.json.ScenarioJSON
public class ScenarioJSON
- extends com.google.gwt.core.client.JavaScriptObject
ScenarioJSON metadata, retrieved either from the scenarios array (a listing
of games loaded at the start of the game), or from an individual scenario
file in a scenario folder, when the game is loaded via the AIR version of
the application. It's just the information necessary to describe the
scenario to the user and to load it.
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
creator
public final java.lang.String creator()
description
public final java.lang.String description()
getScenario
public static final ScenarioJSON getScenario(java.lang.String json)
getScenarios
public static final JsArray<ScenarioJSON> getScenarios()
name
public final java.lang.String name()
setCreator
public final void setCreator(java.lang.String creator)
setDescription
public final java.lang.String setDescription(java.lang.String description)
setUrl
public final void setUrl(java.lang.String url)
url
public final java.lang.String url()
version
public final int version()
© 2009 Alx Dark