Remove crack pipe, finish job.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2894 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PuzzleController.java,v 1.2 2003/12/05 02:00:48 mdb Exp $
|
// $Id: PuzzleController.java,v 1.3 2003/12/05 02:39:12 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.puzzle.client;
|
package com.threerings.puzzle.client;
|
||||||
|
|
||||||
@@ -31,6 +31,7 @@ import com.threerings.media.FrameParticipant;
|
|||||||
import com.threerings.media.sound.SoundCodes;
|
import com.threerings.media.sound.SoundCodes;
|
||||||
|
|
||||||
import com.threerings.presents.client.InvocationReceiver;
|
import com.threerings.presents.client.InvocationReceiver;
|
||||||
|
import com.threerings.presents.dobj.AttributeChangeListener;
|
||||||
import com.threerings.presents.dobj.AttributeChangedEvent;
|
import com.threerings.presents.dobj.AttributeChangedEvent;
|
||||||
import com.threerings.presents.dobj.ElementUpdateListener;
|
import com.threerings.presents.dobj.ElementUpdateListener;
|
||||||
import com.threerings.presents.dobj.ElementUpdatedEvent;
|
import com.threerings.presents.dobj.ElementUpdatedEvent;
|
||||||
@@ -861,20 +862,6 @@ public abstract class PuzzleController extends GameController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited
|
|
||||||
public void attributeChanged (AttributeChangedEvent event)
|
|
||||||
{
|
|
||||||
super.attributeChanged(event);
|
|
||||||
|
|
||||||
String name = event.getName();
|
|
||||||
if (name.equals(PuzzleObject.DIFFICULTY)) {
|
|
||||||
difficultyChanged(_puzobj.difficulty);
|
|
||||||
|
|
||||||
} else if (name.equals(PuzzleObject.SEED)) {
|
|
||||||
generateNewBoard();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the puzzle difficulty level is changed.
|
* Called when the puzzle difficulty level is changed.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user