simu.cpp
/************************************************************************/
/*                                                                      */
/* Adds to the queue and randomizes the coords                          */
/* until it reaches max queue size                                      */
/*                                                                      */
/*                                                                      */
/************************************************************************/
Adds to the queue and randomizes the coords
until it reaches max queue size
Adds to the queue and randomizes the coords until it reaches max queue size
void simu::addToQueue()
{
    do
    {
        queue.push_back(boatY);
        randomizeBoatCoords();
    } while (queue.size() < MAX_QUEUE_SIZE);
}
void simu :: addToQueue ( ) { do { queue . push_back ( boatY ) ; randomizeBoatCoords ( ) ; } while ( queue . size ( ) < MAX_QUEUE_SIZE ) ; }
Adds to the queue and randomizes the coords
until it reaches max queue size
Adds to the queue and randomizes the coords until it reaches max queue size