this change goes with msoy r3274
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@249 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -44,11 +44,10 @@ public class EZGameConfigurator extends FlexGameConfigurator
|
|||||||
* Set a String of configData, which is hopefully XML formatted with
|
* Set a String of configData, which is hopefully XML formatted with
|
||||||
* some game configuration options.
|
* some game configuration options.
|
||||||
*/
|
*/
|
||||||
public function setXMLConfig (configData :String) :void
|
public function setXMLConfig (config :XML) :void
|
||||||
{
|
{
|
||||||
var log :Log = Log.getLog(this);
|
var log :Log = Log.getLog(this);
|
||||||
|
|
||||||
var config :XML = XML(configData);
|
|
||||||
for each (var param :XML in config..params.children()) {
|
for each (var param :XML in config..params.children()) {
|
||||||
if (StringUtil.isBlank(param.@ident)) {
|
if (StringUtil.isBlank(param.@ident)) {
|
||||||
log.warning("Bad configuration option: no 'ident' in " +
|
log.warning("Bad configuration option: no 'ident' in " +
|
||||||
|
|||||||
Reference in New Issue
Block a user