MCPcopy Create free account
hub / github.com/XMuli/ChineseChess / startGameTimer

Method startGameTimer

ChessBoard.cpp:497–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497void ChessBoard::startGameTimer()
498{
499 if (!m_timer || m_bIsStart)
500 return;
501
502 m_timer->start(1000);
503 m_bIsStart = true;
504 ui->pushButton_start->setText("暂停");
505}
506
507void ChessBoard::pauseGameTimer()
508{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected