us.asciiroth.client.json
Class ScenarioJSON

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by 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.


Method Summary
 java.lang.String creator()
           
 java.lang.String description()
           
static ScenarioJSON getScenario(java.lang.String json)
           
static JsArray<ScenarioJSON> getScenarios()
           
 java.lang.String name()
           
 void setCreator(java.lang.String creator)
           
 java.lang.String setDescription(java.lang.String description)
           
 void setUrl(java.lang.String url)
           
 java.lang.String url()
           
 int version()
           
 
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
 

Method Detail

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()

0.7

2009 Alx Dark