#include "mode.hpp"

bool mode::thereIsLineToDraw()
{
    return !_cam.bufferEmpty();
}

const camera::draw mode::nextLineToDraw()
{
    camera::draw tmp = _cam.currentLine();
    _cam.unmountBuffer();
    return tmp;
}
