コード例 #1
0
        public MineRow(MineTable parent, int row)
        {
            _parent = parent;
            _rowIdx = row;

            //セルの作成
            _cells = new MineCell[parent.ColumnCount];
            for (int i = 0; i < _cells.Length; i++)
            {
                _cells[i] = new MineCell(this, i);
            }
        }
コード例 #2
0
ファイル: MineModel.cs プロジェクト: math314/git_test
 public MineModel()
 {
     _table        = new MineTable(40, 20);
     BombSum       = 60;
     IsGameStarted = false;
 }