pScene_->setSceneRect(rectangle);
pView_->setSceneRect(rectangle);
- qDebug() << "Initialized boundaries" << rectangle.left() << rectangle.right() << pView_->width();
+ qDebug() << "Initialized boundaries" << rectangle.right() << rectangle.bottom() << pView_->width() << pView_->height();
pScene_->setupMap(5,5,5);
}
void SeaScene::spreadGhosts(int ghosts)
{
- qDebug() << "Preparing to spread ghosts";
//the octopuses and the ship may have moved from their original positions,
//so the list of free slots must be adjusted to exclude their current positions