PuzzleConfig was totally pointless and prevented Yohoho from having all of its

game configs inherit from a single enhanced config. It also prevented the
puzzle stuff from being used by ToyBox. It is now gone and Yohoho is even more
broken, but the fixes are in progress.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@287 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-05-01 23:40:44 +00:00
parent 7538ddcc7f
commit df9b6c2657
7 changed files with 11 additions and 80 deletions
@@ -53,7 +53,6 @@ import com.threerings.parlor.game.data.GameObject;
import com.threerings.puzzle.Log;
import com.threerings.puzzle.data.Board;
import com.threerings.puzzle.data.PuzzleCodes;
import com.threerings.puzzle.data.PuzzleConfig;
import com.threerings.puzzle.data.PuzzleObject;
import com.threerings.puzzle.util.PuzzleContext;
@@ -96,8 +95,7 @@ public abstract class PuzzleController extends GameController
_pctx = (PuzzleContext)_ctx;
// initialize the puzzle panel
_puzconfig = (PuzzleConfig)_config;
_panel.init(_puzconfig);
_panel.init(_config);
// initialize the board view
_pview = _panel.getBoardView();
@@ -917,9 +915,6 @@ public abstract class PuzzleController extends GameController
/** The puzzle panel. */
protected PuzzlePanel _panel;
/** The puzzle config. */
protected PuzzleConfig _puzconfig;
/** A reference to our puzzle game object. */
protected PuzzleObject _puzobj;