Commit 033b7751 authored by Denis Khachko's avatar Denis Khachko

no message

parent b3c2a1a8
......@@ -4937,7 +4937,7 @@ bool RobotModule::runIsColor()
QChar RobotModule::runDownChar(const int row, const int col)
{
qDebug()<<"Get DC R:"<<row<<" C:"<<col;
qDebug()<<"Get DC R:"<<row<<" C:"<<col<<" ROWS"<<curConsoleField->Rows();
if(!DISPLAY)
{
if(row-1>=curConsoleField->Rows()||col-1>=curConsoleField->Columns()
......
......@@ -102,8 +102,8 @@ namespace ActorRobot {
bool goRight();
bool goUp();
bool goDown();
int Columns(){return roboCol;}
int Rows(){return roboRow;}
int Columns(){return rows.at(0).count();}
int Rows(){return rows.count();}
int robotRow(){return roboRow;}
int robotCol(){return roboCol;}
int loadFromFile(QString filename);
......
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