Whitespace

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@897 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Dave Hoover
2010-02-10 20:32:45 +00:00
parent 038604d1d2
commit bee3ff77f3
@@ -764,10 +764,9 @@ public abstract class PuzzleController extends GameController
} }
/** /**
* Called when a player is knocked out of the game to give the puzzle * Called when a player is knocked out of the game to give the puzzle a chance to perform any
* a chance to perform any post-knockout actions that may be desired. * post-knockout actions that may be desired. Derived classes may wish to override this method
* Derived classes may wish to override this method but should be sure * but should be sure to call <code>super.playerKnockedOut()</code>.
* to call <code>super.playerKnockedOut()</code>.
*/ */
protected void playerKnockedOut (final int pidx) protected void playerKnockedOut (final int pidx)
{ {
@@ -781,8 +780,7 @@ public abstract class PuzzleController extends GameController
} }
/** /**
* Catches clicks an unpauses, without passing the click through * Catches clicks an unpauses, without passing the click through to the puzzle.
* to the puzzle.
*/ */
class Unpauser extends MouseHijacker class Unpauser extends MouseHijacker
{ {
@@ -914,8 +912,7 @@ public abstract class PuzzleController extends GameController
/** A key listener that currently just toggles pause in the puzzle. */ /** A key listener that currently just toggles pause in the puzzle. */
protected KeyListener _globalKeyListener = new KeyAdapter() { protected KeyListener _globalKeyListener = new KeyAdapter() {
@Override @Override
public void keyReleased (KeyEvent e) public void keyReleased (KeyEvent e) {
{
int keycode = e.getKeyCode(); int keycode = e.getKeyCode();
// toggle chatting (pause) // toggle chatting (pause)
if (keycode == KeyEvent.VK_ESCAPE || keycode == KeyEvent.VK_PAUSE) { if (keycode == KeyEvent.VK_ESCAPE || keycode == KeyEvent.VK_PAUSE) {