qgamethread.cpp
来自「这是一款象棋游戏」· C++ 代码 · 共 28 行
CPP
28 行
/************************************************************************ * * linux版仿联众俄罗斯方块 * * 该软件在GPL(GNU通用公共许可证)下发布 * * Copyright (C) <codeky@126.com> * * This source code is licensed under the GNU General Public License * ************************************************************************/# include "qgamethread.h"#include "qgamewidget.h"void QGameThread::run(){ while(bRun){ if(pGame){ if(!pGame->ComputerRun())msleep(500); } }}void QGameThread::setRunable(bool r){ bRun = r;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?