Hold on to your seats kids, it's another installment of "A Boy and His

Blowtorch". Refactored GameConfig and the EZ game framework, cleaning up some
old cruft from GameConfig (which will break other projects and which I'll fix
ASAP) and moved the XML based configuration system from ToyBox into EZGame.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@286 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-05-01 22:26:25 +00:00
parent 04dd58d759
commit 7538ddcc7f
47 changed files with 2392 additions and 1114 deletions
@@ -21,6 +21,7 @@
package com.threerings.parlor;
import com.threerings.crowd.client.PlaceController;
import com.threerings.parlor.game.client.GameConfigurator;
import com.threerings.parlor.game.data.GameConfig;
@@ -29,19 +30,24 @@ public class TestConfig extends GameConfig
/** The foozle parameter. */
public int foozle;
public int getGameId ()
{
return 0;
}
public String getGameIdent ()
{
return "test";
}
public GameConfigurator createConfigurator ()
{
return null;
}
public Class getControllerClass ()
public PlaceController createController ()
{
return TestController.class;
}
public String getBundleName ()
{
return "test";
return new TestController();
}
public String getManagerClassName ()
@@ -21,14 +21,15 @@
package com.threerings.whirled;
import com.threerings.crowd.client.PlaceController;
import com.threerings.crowd.data.PlaceConfig;
import com.threerings.whirled.server.SceneManager;
public class TestConfig extends PlaceConfig
{
public Class getControllerClass ()
public PlaceController createController ()
{
return TestController.class;
return new TestController();
}
public String getManagerClassName ()