Property | Type | Description | |
---|---|---|---|
ListProperties | IEnumerable |
Method | Description | |
---|---|---|
Clone ( ) : object | ||
CreateGenerator ( ) : |
Creates MapGeneratorState to create a map with the current parameters and specified dimensions. Does NOT start the generation process yet -- that should be done in MapGeneratorState.Generate()
|
|
LoadProperties ( [ baseElement ) : void |
Loads generation parameters from XML. All read-write public properties, except those with [XmlIgnore] attribute, are considered. If no corresponding XML element exists, property value is unchanged.
|
|
Save ( [ baseElement ) : void |
Saves current generation parameters to XML, in a format that's expected to be readable by MapGenerator.CreateParameters(XElement)
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
ListProperties ( ) : IEnumerable |
public abstract CreateGenerator ( ) : |
||
return |
public LoadProperties ( [ baseElement ) : void | ||
baseElement | [ | Element from which parameters are read. /// Each property corresponds to a child element. |
return | void |
public Save ( [ baseElement ) : void | ||
baseElement | [ | Element onto which the parameters should be attached. /// Each property will correspond to a child element. |
return | void |