public void ImportListTileColor(List <TileColorData> listTileColor)
 {
     _listTileColorModel.Clear();
     foreach (var tileColor in listTileColor)
     {
         TileColorModel tileColorModelTmp = new TileColorModel();
         tileColorModelTmp.ImportData(tileColor);
         _listTileColorModel.Add(tileColorModelTmp);
     }
 }
Beispiel #2
0
 public void ImportData(HexData data)
 {
     _description      = data.Description;
     _degreExploration = data.DegreExploration;
     _column           = data.Column;
     _row            = data.Row;
     _tileColorModel = new TileColorModel();
     _tileColorModel.ImportData(data.TileData.TileColorData);
     _tileImageModel = new TileImageModel();
     _tileImageModel.ImportData(data.TileData.TileImageData);
 }