Example #1
0
 private void InitializeCellContent()
 {
     for (var column = 0; column < _map.Height; ++column)
     {
         _cellContent[column] = new CellContent[_map.Width];
         for (var row = 0; row < _map.Width; ++row)
         {
             _cellContent[column][row] = new CellContent();
         }
     }
 }
Example #2
0
 public Cell()
 {
     Content = new CellContent();
 }