Added hasOverlay().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3080 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PuzzlePanel.java,v 1.3 2004/02/25 14:48:44 mdb Exp $
|
// $Id: PuzzlePanel.java,v 1.4 2004/08/16 22:58:06 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.puzzle.client;
|
package com.threerings.puzzle.client;
|
||||||
|
|
||||||
@@ -110,6 +110,14 @@ public abstract class PuzzlePanel extends JPanel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if an overlay panel is currently being displayed.
|
||||||
|
*/
|
||||||
|
public boolean hasOverlay ()
|
||||||
|
{
|
||||||
|
return _opanel != null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the puzzle panel with the puzzle config of the puzzle
|
* Initializes the puzzle panel with the puzzle config of the puzzle
|
||||||
* whose user interface is being displayed by the panel
|
* whose user interface is being displayed by the panel
|
||||||
|
|||||||
Reference in New Issue
Block a user