public void ResetData(string szText)
    {
        Reset();

        uiBoard.SetElement_Name(szText);
        uiBoard.Show(true);
    }
Beispiel #2
0
    public void DestroyCreatureBoard(CreatureBoard board)
    {
        if (board == null)
        {
            return;
        }

        //CUICreatureBoardSystem::GetClientScreen()->removeChildWindow( pBoard->GetMainWindow() );

        //从链表中删除,加入可用堆栈
        if (m_listAllBoard.Remove(board))
        {
            m_listBoardDataPool.Add(board);
            board.Show(false);
        }
    }