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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user