//-----------------------------------------------------------------------------
// ScoreBoardGUI utility methods
//-----------------------------------------------------------------------------
function ScoreBoardGUI::toggle(%this)
{
   if (this.isAwake())
      Canvas.popDialog(%this);
   else
      Canvas.pushDialog(%this);
}

function ScoreBoardGUI::clear(%this)
{
   // Override to clear the list.
   ScoreBoardGUIList.clear();
}