Allow EZGames to have custom configuration options specified as XML.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@240 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-03-13 00:50:14 +00:00
parent 565c700d61
commit 3825cf2e68
5 changed files with 226 additions and 0 deletions
@@ -73,6 +73,7 @@ import com.threerings.crowd.util.CrowdContext;
import com.threerings.parlor.game.data.GameObject;
import com.threerings.ezgame.data.EZGameConfig;
import com.threerings.ezgame.data.EZGameObject;
import com.threerings.ezgame.data.PropertySetEvent;
import com.threerings.ezgame.data.PropertySetListener;
@@ -167,6 +168,7 @@ public class GameControlBackend
// straight data
o["gameData"] = _gameData;
o["gameConfig"] = (_ctrl.getPlaceConfig() as EZGameConfig).customConfig;
// functions
o["setProperty_v1"] = setProperty_v1;