SetCell
How do I use Set Cell
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
34 | public void SetCell(Seed seed, int row, int col) | 1 |
166 | board.SetCell(seed, row, col); | 2 |
File name: Board.cs
Copy
34 public void SetCell(Seed seed, int row, int col)
35 {
36 SetPlayer(seed);
37 OnCellClick(cells[row, col]);
38 }
File name: Game.cs
Copy
164 private void OnRemoteBoardChange(Seed seed, int row, int col)
165 {
166 board.SetCell(seed, row, col);
167 }
SetCell 159 lượt xem
Gõ tìm kiếm nhanh...