Commit 33a5dff0 authored by Denis Khachko's avatar Denis Khachko

robotModule console mode

parent 3b5bd0ce
......@@ -3705,7 +3705,11 @@ void RobotModule::reset()
*/
//delete field;
qDebug()<<"Reset!!";
if(!DISPLAY)return; //console mode
if(!DISPLAY)//console mode
{
qDebug()<<"Reset::console mode";
return;
}
field->destroyRobot();
field->deleteLater();
......@@ -3894,11 +3898,11 @@ void RobotModule::runGoDown()
void RobotModule::runGoLeft()
{
/* TODO implement me */
qDebug() << "Robot left";
if(!DISPLAY)
{
{qDebug() << "Robot left:impement me!";
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment