Track our manager in the base delegate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2881 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DropManagerDelegate.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
|
||||
// $Id: DropManagerDelegate.java,v 1.2 2003/11/26 03:17:16 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.drop.server;
|
||||
|
||||
@@ -65,9 +65,6 @@ public abstract class DropManagerDelegate extends PuzzleManagerDelegate
|
||||
{
|
||||
super(puzmgr);
|
||||
|
||||
// save off the puzzle manager
|
||||
_puzmgr = puzmgr;
|
||||
|
||||
// configure the game-specific settings
|
||||
_usedrop = logic.useBlockDropping();
|
||||
_userise = logic.useBoardRising();
|
||||
@@ -146,9 +143,6 @@ public abstract class DropManagerDelegate extends PuzzleManagerDelegate
|
||||
_puzmgr.updateBoardSummary(pidx);
|
||||
}
|
||||
|
||||
/** The puzzle manager. */
|
||||
protected PuzzleManager _puzmgr;
|
||||
|
||||
/** The drop game board for each player. */
|
||||
protected DropBoard[] _dboards;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: PuzzleManagerDelegate.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
|
||||
// $Id: PuzzleManagerDelegate.java,v 1.2 2003/11/26 03:17:16 mdb Exp $
|
||||
|
||||
package com.threerings.puzzle.server;
|
||||
|
||||
@@ -17,6 +17,7 @@ public class PuzzleManagerDelegate extends GameManagerDelegate
|
||||
public PuzzleManagerDelegate (PuzzleManager puzmgr)
|
||||
{
|
||||
super(puzmgr);
|
||||
_puzmgr = puzmgr;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -25,4 +26,6 @@ public class PuzzleManagerDelegate extends GameManagerDelegate
|
||||
public void difficultyChanged (int level)
|
||||
{
|
||||
}
|
||||
|
||||
protected PuzzleManager _puzmgr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user