src/MapGenerator/MapOperation.cpp
/**
 * Use a initialize MField to generate map showed to user.
 *
 * @param initializedMap
 * A initialized Minefield
 */
Use a initialize MField to generate map showed to user.
@param initializedMap
A initialized Minefield
Use a initialize MField to generate map showed to user . @param initializedMap A initialized Minefield
MapGenerator::MField::MField(const MapGenerator::MField *initializedMap) {
    this->row = initializedMap->row;
    this->line = initializedMap->line;
    this->numberOfMines = this->row * this->line;
    this->resetMap(BLOCKTYPE::UNREVEALED);
}
MapGenerator :: MField :: MField ( const MapGenerator :: MField * initializedMap ) { this -> row = initializedMap -> row ; this -> line = initializedMap -> line ; this -> numberOfMines = this -> row * this -> line ; this -> resetMap ( BLOCKTYPE :: UNREVEALED ) ; }
Use a initialize MField to generate map showed to user.
Use a initialize MField to generate map showed to user .