public void GenerateMap(int mapIndex)
 {
     if (mapIndex == -1)
     {
         m_MapBuilder.CleanMap();
         m_MapData = null;
     }
     else
     {
         CreateMap(maps[mapIndex]);
     }
 }