added helpful comment so I don't make the same mistake again in the future
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@293 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -103,7 +103,9 @@ public class EZGameConfigurator extends FlexGameConfigurator
|
||||
var ident :String = String(_customConfigs[ii]);
|
||||
var control :UIComponent = (_customConfigs[ii + 1] as UIComponent);
|
||||
if (control is LabeledSlider) {
|
||||
params.put(ident, (control as LabeledSlider).slider.value);
|
||||
// this is wrapped in our own Integer class so that it can play in a friendly
|
||||
// way with Java that deserializes this StreamableHashMap
|
||||
params.put(ident, new Integer((control as LabeledSlider).slider.value));
|
||||
|
||||
} else if (control is CheckBox) {
|
||||
params.put(ident, (control as CheckBox).selected);
|
||||
|
||||
Reference in New Issue
Block a user