示例#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();
         }
     }
 }
示例#2
0
文件: Cell.cs 项目: hspirdal/darwin
 public Cell()
 {
     Content = new CellContent();
 }