Whitespace
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@897 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user