コード例 #1
0
ファイル: LifeGame.cs プロジェクト: jelster/SpecALMed
 public void SpawnCell(Cell cell)
 {
     grid.Add(cell.Position, cell);
 }
コード例 #2
0
ファイル: LifeGame.cs プロジェクト: jelster/SpecALMed
 public void SpawnCell(Tuple<int, int> location, Cell.CellState initialState = Cell.CellState.Dead)
 {
     SpawnCell(new Cell(location.Item1, location.Item2, initialState));
 }